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.0008064/0.0008064, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008135/0.0008135, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.8859/0.8859, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.662/1.662, allocations: 377.8 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 3.938 kB / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.328e-05, allocations: 2.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5596/0.5597, allocations: 147.6 MB / 1.125 GB, free: 13.35 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.5616, allocations: 1.479 MB / 1.127 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.5619, allocations: 18.97 kB / 1.127 GB, free: 12.33 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.5623, allocations: 155.5 kB / 1.127 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.5636, allocations: 0.7231 MB / 1.127 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.5649, allocations: 0.6568 MB / 1.128 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006331/0.5655, allocations: 0.6976 MB / 1.129 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.5657, allocations: 175.8 kB / 1.129 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007787/0.5665, allocations: 0.5957 MB / 1.129 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.5667, allocations: 194.9 kB / 1.13 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.5668, allocations: 23.12 kB / 1.13 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000977/0.5677, allocations: 0.7207 MB / 1.13 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.5678, allocations: 111.3 kB / 1.131 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.844e-05/0.5679, allocations: 115.7 kB / 1.131 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007868/0.5687, allocations: 0.7334 MB / 1.131 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5687, allocations: 1.562 kB / 1.131 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5687, allocations: 4 kB / 1.131 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.5687, allocations: 0 / 1.131 GB, free: 10.18 MB / 0.9948 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.0006311/0.5694, allocations: 0.5724 MB / 1.132 GB, free: 9.738 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5694, allocations: 9.938 kB / 1.132 GB, free: 9.738 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.5694, allocations: 58.8 kB / 1.132 GB, free: 9.684 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006245/0.5701, allocations: 158.8 kB / 1.132 GB, free: 9.648 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.5704, allocations: 260.2 kB / 1.132 GB, free: 9.453 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.5705, allocations: 22.56 kB / 1.132 GB, free: 9.441 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.5705, allocations: 23.44 kB / 1.132 GB, free: 9.434 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.5708, allocations: 281.7 kB / 1.133 GB, free: 9.289 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.5708, allocations: 4 kB / 1.133 GB, free: 9.285 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.5708, allocations: 6.312 kB / 1.133 GB, free: 9.281 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.5708, allocations: 10.72 kB / 1.133 GB, free: 9.277 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.5711, allocations: 194 kB / 1.133 GB, free: 9.223 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000803/0.5719, allocations: 0.9741 MB / 1.134 GB, free: 8.473 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.5721, allocations: 132.8 kB / 1.134 GB, free: 8.41 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.5722, allocations: 82.64 kB / 1.134 GB, free: 8.383 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.5724, allocations: 70.78 kB / 1.134 GB, free: 8.379 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.5725, allocations: 40.16 kB / 1.134 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.5725, allocations: 0 / 1.134 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0004994/0.573, allocations: 280.6 kB / 1.134 GB, free: 8.227 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.573, allocations: 53.53 kB / 1.134 GB, free: 8.164 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.5732, allocations: 320.4 kB / 1.135 GB, free: 8 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.5732, allocations: 31.11 kB / 1.135 GB, free: 7.965 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.5733, allocations: 184.5 kB / 1.135 GB, free: 7.809 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.5733, allocations: 58.08 kB / 1.135 GB, free: 7.762 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.5734, allocations: 42.36 kB / 1.135 GB, free: 7.734 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.5734, allocations: 338.7 kB / 1.135 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.37e-05/0.5735, allocations: 64.03 kB / 1.135 GB, free: 7.395 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.5737, allocations: 203.3 kB / 1.136 GB, free: 7.227 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.5739, allocations: 206.1 kB / 1.136 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5739, allocations: 1.375 kB / 1.136 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002576/0.5741, allocations: 242.2 kB / 1.136 GB, free: 7.008 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.5741, allocations: 6.062 kB / 1.136 GB, free: 7.008 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.5741, allocations: 1.375 kB / 1.136 GB, free: 7.008 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.5742, allocations: 2.75 kB / 1.136 GB, free: 7.008 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.5743, allocations: 41.86 kB / 1.136 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.5743, allocations: 7.484 kB / 1.136 GB, free: 7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.5744, allocations: 32.48 kB / 1.136 GB, free: 6.984 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.5744, allocations: 8.953 kB / 1.136 GB, free: 6.984 MB / 0.9948 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 8.022e-05/0.5745, allocations: 149.3 kB / 1.136 GB, free: 6.852 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.5745, allocations: 33.5 kB / 1.136 GB, free: 6.832 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.5748, allocations: 218.1 kB / 1.137 GB, free: 6.738 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.5748, allocations: 2.594 kB / 1.137 GB, free: 6.738 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.5748, allocations: 4 kB / 1.137 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.5748, allocations: 0.7031 kB / 1.137 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.5754, allocations: 0.6333 MB / 1.137 GB, free: 6.289 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5754, allocations: 2.953 kB / 1.137 GB, free: 6.289 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.219e-05/0.5755, allocations: 39.02 kB / 1.137 GB, free: 6.281 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5755, allocations: 1.5 kB / 1.137 GB, free: 6.281 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.5755, allocations: 9.734 kB / 1.137 GB, free: 6.277 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5755, allocations: 2.672 kB / 1.137 GB, free: 6.277 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5755, allocations: 5.375 kB / 1.137 GB, free: 6.273 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.5759, allocations: 429 kB / 1.138 GB, free: 6 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.5759, allocations: 45.03 kB / 1.138 GB, free: 5.977 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.576, allocations: 8.672 kB / 1.138 GB, free: 5.973 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.5761, allocations: 13.91 kB / 1.138 GB, free: 5.969 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.5761, allocations: 20.14 kB / 1.138 GB, free: 5.961 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.5761, allocations: 5.031 kB / 1.138 GB, free: 5.961 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001359/0.5762, allocations: 230.4 kB / 1.138 GB, free: 5.836 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.5762, allocations: 0 / 1.138 GB, free: 5.836 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002677/0.5765, allocations: 80.03 kB / 1.138 GB, free: 5.824 MB / 0.9948 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.0006215/0.5771, allocations: 1.012 MB / 1.139 GB, free: 4.996 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.5774, allocations: 163.9 kB / 1.139 GB, free: 4.953 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5774, allocations: 1.531 kB / 1.139 GB, free: 4.953 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.5775, allocations: 90.98 kB / 1.139 GB, free: 4.922 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.5781, allocations: 173.2 kB / 1.139 GB, free: 4.883 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.5804, allocations: 2.889 MB / 1.142 GB, free: 2.945 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.5805, allocations: 177.3 kB / 1.142 GB, free: 2.852 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001851/0.5807, allocations: 59.05 kB / 1.142 GB, free: 2.844 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.526e-05/0.5808, allocations: 89.42 kB / 1.143 GB, free: 2.781 MB / 0.9948 GB Notification: Performance of SimCode: time 8.61e-07/0.5808, allocations: 0.8125 kB / 1.143 GB, free: 2.781 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.6095, allocations: 10.09 MB / 1.152 GB, free: 1.176 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.663/7.273, allocations: 9.234 kB / 1.152 GB, free: 1.168 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.198017765767872]