Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 209.5 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.305/1.305, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.838/2.838, allocations: 0.49 GB / 0.7959 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 68.38 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.289, allocations: 176.1 MB / 1.327 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1811/0.4702, allocations: 171 MB / 1.494 GB, free: 6.297 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.002694/0.4728, allocations: 1.565 MB / 1.495 GB, free: 4.73 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.4731, allocations: 19.81 kB / 1.495 GB, free: 4.711 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.4735, allocations: 150.9 kB / 1.495 GB, free: 4.562 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.475, allocations: 0.7469 MB / 1.496 GB, free: 3.812 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.4763, allocations: 0.6321 MB / 1.497 GB, free: 3.18 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0007516/0.4771, allocations: 0.7051 MB / 1.497 GB, free: 2.473 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.4774, allocations: 189 kB / 1.498 GB, free: 2.285 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000933/0.4783, allocations: 0.4982 MB / 1.498 GB, free: 1.785 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003909/0.4787, allocations: 235.1 kB / 1.498 GB, free: 1.555 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.307e-05/0.4788, allocations: 20 kB / 1.498 GB, free: 1.535 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.4801, allocations: 0.9352 MB / 1.499 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.4803, allocations: 111.6 kB / 1.499 GB, free: 500 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.4804, allocations: 163.3 kB / 1.499 GB, free: 336 kB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0009209/0.4813, allocations: 0.7203 MB / 1.5 GB, free: 15.61 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4813, allocations: 4 kB / 1.5 GB, free: 15.6 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4813, allocations: 0 / 1.5 GB, free: 15.6 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4813, allocations: 3.938 kB / 1.5 GB, free: 15.6 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008542/0.4822, allocations: 0.5862 MB / 1.501 GB, free: 14.98 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.4822, allocations: 8.031 kB / 1.501 GB, free: 14.97 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.737e-05/0.4822, allocations: 4.438 kB / 1.501 GB, free: 14.96 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.765e-05/0.4823, allocations: 54.55 kB / 1.501 GB, free: 14.9 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.4834, allocations: 159.6 kB / 1.501 GB, free: 14.75 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/0.4839, allocations: 260 kB / 1.501 GB, free: 14.47 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.484, allocations: 16.44 kB / 1.501 GB, free: 14.45 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.484, allocations: 24 kB / 1.501 GB, free: 14.43 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.4845, allocations: 283.3 kB / 1.502 GB, free: 14.13 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4845, allocations: 0 / 1.502 GB, free: 14.13 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.4846, allocations: 8 kB / 1.502 GB, free: 14.12 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.4846, allocations: 4 kB / 1.502 GB, free: 14.12 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004244/0.485, allocations: 207.8 kB / 1.502 GB, free: 13.91 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.4865, allocations: 1.171 MB / 1.503 GB, free: 12.65 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.4868, allocations: 134.4 kB / 1.503 GB, free: 12.51 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.4869, allocations: 88.75 kB / 1.503 GB, free: 12.42 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004489/0.4874, allocations: 76.19 kB / 1.503 GB, free: 12.34 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.4874, allocations: 38.5 kB / 1.503 GB, free: 12.3 MB / 1.201 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.4874, allocations: 0 / 1.503 GB, free: 12.3 MB / 1.201 GB Notification: Performance of matching and sorting (n=15): time 0.0007347/0.4882, allocations: 285.2 kB / 1.503 GB, free: 12.01 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.4882, allocations: 51.41 kB / 1.504 GB, free: 11.95 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.4885, allocations: 316.5 kB / 1.504 GB, free: 11.63 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.4885, allocations: 33.7 kB / 1.504 GB, free: 11.59 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.4887, allocations: 176.3 kB / 1.504 GB, free: 11.41 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.4887, allocations: 59.5 kB / 1.504 GB, free: 11.35 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.4888, allocations: 53.66 kB / 1.504 GB, free: 11.29 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4889, allocations: 334.8 kB / 1.504 GB, free: 10.96 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.4891, allocations: 67.95 kB / 1.505 GB, free: 10.89 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.4893, allocations: 122.9 kB / 1.505 GB, free: 10.75 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.4897, allocations: 194.4 kB / 1.505 GB, free: 10.55 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4897, allocations: 0 / 1.505 GB, free: 10.55 MB / 1.201 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004472/0.4901, allocations: 241.3 kB / 1.505 GB, free: 10.3 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.4901, allocations: 10.03 kB / 1.505 GB, free: 10.3 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4901, allocations: 0 / 1.505 GB, free: 10.3 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4901, allocations: 8.078 kB / 1.505 GB, free: 10.29 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.4903, allocations: 35.98 kB / 1.505 GB, free: 10.25 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.4903, allocations: 3.984 kB / 1.505 GB, free: 10.25 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.4905, allocations: 31.81 kB / 1.505 GB, free: 10.22 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.4905, allocations: 11.98 kB / 1.505 GB, free: 10.21 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.4907, allocations: 157.8 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.4908, allocations: 35.81 kB / 1.505 GB, free: 10.01 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004508/0.4912, allocations: 223 kB / 1.506 GB, free: 9.785 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4912, allocations: 0 / 1.506 GB, free: 9.785 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4912, allocations: 7.938 kB / 1.506 GB, free: 9.777 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4912, allocations: 0 / 1.506 GB, free: 9.777 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009942/0.4922, allocations: 0.6514 MB / 1.506 GB, free: 9.055 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4922, allocations: 4.219 kB / 1.506 GB, free: 9.051 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.4924, allocations: 39.86 kB / 1.506 GB, free: 9.012 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.4924, allocations: 4 kB / 1.506 GB, free: 9.008 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.4924, allocations: 7.984 kB / 1.506 GB, free: 9 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4924, allocations: 4 kB / 1.506 GB, free: 8.996 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.4924, allocations: 4 kB / 1.506 GB, free: 8.992 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000629/0.493, allocations: 421.2 kB / 1.507 GB, free: 8.543 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.443e-05/0.4931, allocations: 55.69 kB / 1.507 GB, free: 8.488 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.4932, allocations: 8.062 kB / 1.507 GB, free: 8.48 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.4933, allocations: 11.98 kB / 1.507 GB, free: 8.469 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.4934, allocations: 15.98 kB / 1.507 GB, free: 8.453 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.4934, allocations: 4 kB / 1.507 GB, free: 8.449 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002177/0.4936, allocations: 227 kB / 1.507 GB, free: 8.227 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.4936, allocations: 3.938 kB / 1.507 GB, free: 8.223 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003693/0.494, allocations: 83.89 kB / 1.507 GB, free: 8.141 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/0.495, allocations: 1.015 MB / 1.508 GB, free: 7.078 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004035/0.4954, allocations: 167.8 kB / 1.508 GB, free: 6.914 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4954, allocations: 4.188 kB / 1.508 GB, free: 6.91 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.4956, allocations: 83.81 kB / 1.508 GB, free: 6.828 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008388/0.4965, allocations: 170.2 kB / 1.508 GB, free: 6.664 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/0.5001, allocations: 2.907 MB / 1.511 GB, free: 3.609 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.5005, allocations: 0.7756 MB / 1.512 GB, free: 2.809 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001858/0.5006, allocations: 62.92 kB / 1.512 GB, free: 2.75 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.5008, allocations: 91.41 kB / 1.512 GB, free: 2.664 MB / 1.201 GB Notification: Performance of SimCode: time 3.5e-07/0.5008, allocations: 0 / 1.512 GB, free: 2.664 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04546/0.5462, allocations: 9.088 MB / 1.521 GB, free: 9.828 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.03, allocations: 9.625 kB / 1.521 GB, free: 9.82 MB / 1.217 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.02497557294555]