Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 107.2 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.089/3.089, allocations: 497.2 MB / 0.7811 GB, free: 33.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 70.08 kB / 1.134 GB, free: 33.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3233, allocations: 173.9 MB / 1.304 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.2177/0.541, allocations: 170 MB / 1.47 GB, free: 6.801 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.5517, allocations: 7.362 MB / 1.477 GB, free: 15.41 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006829/0.5524, allocations: 11.94 kB / 1.477 GB, free: 15.4 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009074/0.5533, allocations: 214.5 kB / 1.477 GB, free: 15.19 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001804/0.5551, allocations: 0.5951 MB / 1.478 GB, free: 14.59 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.5566, allocations: 438.1 kB / 1.478 GB, free: 14.17 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.5579, allocations: 0.709 MB / 1.479 GB, free: 13.46 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005141/0.5584, allocations: 223.1 kB / 1.479 GB, free: 13.24 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.5597, allocations: 0.5293 MB / 1.48 GB, free: 12.71 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003455/0.5601, allocations: 230.9 kB / 1.48 GB, free: 12.48 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.5601, allocations: 20 kB / 1.48 GB, free: 12.46 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.5615, allocations: 0.7093 MB / 1.481 GB, free: 11.75 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.5617, allocations: 115.6 kB / 1.481 GB, free: 11.64 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.5619, allocations: 155.2 kB / 1.481 GB, free: 11.49 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.5631, allocations: 0.5722 MB / 1.482 GB, free: 10.91 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.5631, allocations: 0 / 1.482 GB, free: 10.91 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5631, allocations: 0 / 1.482 GB, free: 10.91 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.5631, allocations: 0 / 1.482 GB, free: 10.91 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001148/0.5642, allocations: 0.6536 MB / 1.482 GB, free: 10.21 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.5643, allocations: 12.92 kB / 1.482 GB, free: 10.2 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.954e-05/0.5644, allocations: 58.47 kB / 1.482 GB, free: 10.13 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/0.5648, allocations: 67.73 kB / 1.482 GB, free: 10.07 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/0.5654, allocations: 318.3 kB / 1.483 GB, free: 9.715 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.5654, allocations: 20.44 kB / 1.483 GB, free: 9.695 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.5655, allocations: 24 kB / 1.483 GB, free: 9.672 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.566, allocations: 308.4 kB / 1.483 GB, free: 9.332 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.5661, allocations: 7.875 kB / 1.483 GB, free: 9.324 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.5661, allocations: 12 kB / 1.483 GB, free: 9.312 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.5661, allocations: 11.98 kB / 1.483 GB, free: 9.301 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.5665, allocations: 171.8 kB / 1.483 GB, free: 9.133 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.5684, allocations: 1.687 MB / 1.485 GB, free: 7.328 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002751/0.5687, allocations: 86.5 kB / 1.485 GB, free: 7.234 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.5689, allocations: 80.78 kB / 1.485 GB, free: 7.152 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003293/0.5692, allocations: 186.2 kB / 1.485 GB, free: 6.934 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.5692, allocations: 38.56 kB / 1.485 GB, free: 6.887 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.5692, allocations: 0 / 1.485 GB, free: 6.887 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.0007666/0.57, allocations: 225.3 kB / 1.485 GB, free: 6.66 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.57, allocations: 55.34 kB / 1.485 GB, free: 6.594 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.5704, allocations: 332.5 kB / 1.486 GB, free: 6.258 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.5705, allocations: 25.7 kB / 1.486 GB, free: 6.227 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.5706, allocations: 204.1 kB / 1.486 GB, free: 6.02 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.5707, allocations: 35.69 kB / 1.486 GB, free: 5.984 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.085e-05/0.5708, allocations: 53.66 kB / 1.486 GB, free: 5.926 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.571, allocations: 338.8 kB / 1.486 GB, free: 5.586 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.5711, allocations: 56.81 kB / 1.486 GB, free: 5.527 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.5714, allocations: 196.2 kB / 1.487 GB, free: 5.277 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.5718, allocations: 233.4 kB / 1.487 GB, free: 5 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5718, allocations: 0 / 1.487 GB, free: 5 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005231/0.5723, allocations: 261.4 kB / 1.487 GB, free: 4.738 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.5723, allocations: 10.19 kB / 1.487 GB, free: 4.73 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.5723, allocations: 7.938 kB / 1.487 GB, free: 4.723 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.5724, allocations: 8 kB / 1.487 GB, free: 4.715 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.5726, allocations: 51.84 kB / 1.487 GB, free: 4.664 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.5726, allocations: 7.938 kB / 1.487 GB, free: 4.656 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.5728, allocations: 35.77 kB / 1.487 GB, free: 4.621 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.5729, allocations: 12 kB / 1.487 GB, free: 4.609 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000262/0.5731, allocations: 171.9 kB / 1.487 GB, free: 4.438 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002786/0.5734, allocations: 197.1 kB / 1.488 GB, free: 4.184 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004113/0.5738, allocations: 229.4 kB / 1.488 GB, free: 3.91 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.586e-06/0.5738, allocations: 4 kB / 1.488 GB, free: 3.906 MB / 1.186 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004674/0.5743, allocations: 249 kB / 1.488 GB, free: 3.656 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.5743, allocations: 8.406 kB / 1.488 GB, free: 3.648 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.5743, allocations: 8 kB / 1.488 GB, free: 3.641 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.642e-06/0.5743, allocations: 4 kB / 1.488 GB, free: 3.637 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.5745, allocations: 47.92 kB / 1.488 GB, free: 3.59 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.5745, allocations: 11.92 kB / 1.488 GB, free: 3.578 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.5747, allocations: 31.88 kB / 1.488 GB, free: 3.547 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.5747, allocations: 8 kB / 1.488 GB, free: 3.539 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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.0001618/0.5749, allocations: 196.2 kB / 1.488 GB, free: 3.34 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.575, allocations: 35.75 kB / 1.488 GB, free: 3.305 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/0.5754, allocations: 164.4 kB / 1.489 GB, free: 3.137 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.5754, allocations: 4.281 kB / 1.489 GB, free: 3.133 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5754, allocations: 0 / 1.489 GB, free: 3.133 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.5754, allocations: 0 / 1.489 GB, free: 3.133 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.5764, allocations: 0.6133 MB / 1.489 GB, free: 2.441 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5764, allocations: 0 / 1.489 GB, free: 2.441 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.5765, allocations: 31.92 kB / 1.489 GB, free: 2.41 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.914e-06/0.5765, allocations: 8.219 kB / 1.489 GB, free: 2.402 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.5766, allocations: 4 kB / 1.489 GB, free: 2.398 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.5766, allocations: 4 kB / 1.489 GB, free: 2.395 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5766, allocations: 3.938 kB / 1.489 GB, free: 2.391 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.577, allocations: 301.2 kB / 1.49 GB, free: 2.059 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.5771, allocations: 116.9 kB / 1.49 GB, free: 1.926 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.03e-05/0.5772, allocations: 4 kB / 1.49 GB, free: 1.922 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.5774, allocations: 7.984 kB / 1.49 GB, free: 1.914 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.499e-05/0.5774, allocations: 31.8 kB / 1.49 GB, free: 1.883 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.5774, allocations: 4 kB / 1.49 GB, free: 1.879 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002644/0.5777, allocations: 227 kB / 1.49 GB, free: 1.66 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5777, allocations: 0 / 1.49 GB, free: 1.66 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006068/0.5783, allocations: 131.8 kB / 1.49 GB, free: 1.531 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * 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.001144/0.5795, allocations: 0.9095 MB / 1.491 GB, free: 0.582 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006463/0.5801, allocations: 237.8 kB / 1.491 GB, free: 360 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5801, allocations: 0 / 1.491 GB, free: 360 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.5803, allocations: 59.89 kB / 1.491 GB, free: 300 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007811/0.5811, allocations: 132.2 kB / 1.491 GB, free: 172 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.5851, allocations: 2.806 MB / 1.494 GB, free: 13.15 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.5856, allocations: 0.7756 MB / 1.495 GB, free: 12.34 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002885/0.5859, allocations: 82.89 kB / 1.495 GB, free: 12.26 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.586, allocations: 91.41 kB / 1.495 GB, free: 12.17 MB / 1.201 GB Notification: Performance of SimCode: time 1.002e-06/0.586, allocations: 0 / 1.495 GB, free: 12.17 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03458/0.6206, allocations: 7.974 MB / 1.503 GB, free: 4.355 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.407/9.028, allocations: 16.72 kB / 1.503 GB, free: 4.34 MB / 1.201 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.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: 15.495014245156199]