Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.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.001471/0.001471, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001579/0.001579, allocations: 189 kB / 22.22 MB, free: 5.105 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.317/1.317, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.865/2.865, allocations: 496 MB / 0.7835 GB, free: 33.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 71.44 kB / 1.138 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3227, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2008/0.5234, allocations: 176.9 MB / 1.48 GB, free: 268 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01066/0.5341, allocations: 8.814 MB / 1.489 GB, free: 7.426 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008028/0.5349, allocations: 31.69 kB / 1.489 GB, free: 7.395 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008007/0.5357, allocations: 305.7 kB / 1.489 GB, free: 7.094 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0007386/0.5364, allocations: 318.4 kB / 1.489 GB, free: 6.781 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.5375, allocations: 418.2 kB / 1.49 GB, free: 6.375 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001274/0.5388, allocations: 1.156 MB / 1.491 GB, free: 5.211 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006774/0.5395, allocations: 459 kB / 1.491 GB, free: 4.762 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004906/0.5444, allocations: 2.172 MB / 1.493 GB, free: 2.582 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005423/0.5449, allocations: 370.4 kB / 1.494 GB, free: 2.219 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.55e-05/0.545, allocations: 40 kB / 1.494 GB, free: 2.18 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.5452, allocations: 79.95 kB / 1.494 GB, free: 2.102 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.5455, allocations: 271.2 kB / 1.494 GB, free: 1.836 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.5458, allocations: 286.5 kB / 1.494 GB, free: 1.555 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007516/0.5465, allocations: 0.634 MB / 1.495 GB, free: 0.918 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5465, allocations: 0 / 1.495 GB, free: 0.918 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5465, allocations: 0 / 1.495 GB, free: 0.918 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.5465, allocations: 0 / 1.495 GB, free: 0.918 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001036/0.5476, allocations: 0.762 MB / 1.496 GB, free: 124 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.5476, allocations: 8.922 kB / 1.496 GB, free: 116 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.5477, allocations: 75.52 kB / 1.496 GB, free: 40 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007444/0.5485, allocations: 379.2 kB / 1.496 GB, free: 15.64 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.5485, allocations: 41.3 kB / 1.496 GB, free: 15.6 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.457e-05/0.5486, allocations: 52 kB / 1.496 GB, free: 15.55 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.5496, allocations: 0.6911 MB / 1.497 GB, free: 14.78 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.5497, allocations: 11.94 kB / 1.497 GB, free: 14.77 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/0.5497, allocations: 31.92 kB / 1.497 GB, free: 14.73 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.483e-05/0.5498, allocations: 31.92 kB / 1.497 GB, free: 14.7 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006226/0.5504, allocations: 375.3 kB / 1.497 GB, free: 14.34 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002765/0.5531, allocations: 3.157 MB / 1.5 GB, free: 11.04 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.5534, allocations: 222.1 kB / 1.501 GB, free: 10.73 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.5536, allocations: 124.5 kB / 1.501 GB, free: 10.58 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.5536, allocations: 0 / 1.501 GB, free: 10.58 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.5537, allocations: 46.5 kB / 1.501 GB, free: 10.53 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.5537, allocations: 4 kB / 1.501 GB, free: 10.52 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.00067/0.5544, allocations: 257.7 kB / 1.501 GB, free: 10.27 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.5545, allocations: 282.7 kB / 1.501 GB, free: 9.922 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007958/0.5553, allocations: 0.6881 MB / 1.502 GB, free: 9.227 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.5554, allocations: 37.7 kB / 1.502 GB, free: 9.184 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.5556, allocations: 272.2 kB / 1.502 GB, free: 8.914 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/0.5556, allocations: 39.62 kB / 1.502 GB, free: 8.875 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-05/0.5557, allocations: 34.03 kB / 1.502 GB, free: 8.836 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.5559, allocations: 362.8 kB / 1.503 GB, free: 8.473 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.556, allocations: 31.97 kB / 1.503 GB, free: 8.441 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001662/0.5561, allocations: 109 kB / 1.503 GB, free: 8.316 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.5564, allocations: 125 kB / 1.503 GB, free: 8.176 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5564, allocations: 4 kB / 1.503 GB, free: 8.172 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003553/0.5568, allocations: 189.1 kB / 1.503 GB, free: 7.98 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.5568, allocations: 5.562 kB / 1.503 GB, free: 7.977 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.5568, allocations: 4.125 kB / 1.503 GB, free: 7.973 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.5568, allocations: 8 kB / 1.503 GB, free: 7.965 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.557, allocations: 43.89 kB / 1.503 GB, free: 7.922 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.557, allocations: 0 / 1.503 GB, free: 7.922 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.5572, allocations: 63.48 kB / 1.503 GB, free: 7.859 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.5572, allocations: 8 kB / 1.503 GB, free: 7.852 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 (10): * Single equations (assignments): 10 * 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.0002192/0.5574, allocations: 206.2 kB / 1.503 GB, free: 7.641 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.5577, allocations: 67.56 kB / 1.504 GB, free: 7.574 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.596e-05/0.5577, allocations: 64.2 kB / 1.504 GB, free: 7.508 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5577, allocations: 0 / 1.504 GB, free: 7.508 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5578, allocations: 4 kB / 1.504 GB, free: 7.504 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5578, allocations: 4 kB / 1.504 GB, free: 7.5 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.5592, allocations: 1.268 MB / 1.505 GB, free: 6.148 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.5592, allocations: 4.188 kB / 1.505 GB, free: 6.145 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.5593, allocations: 47.89 kB / 1.505 GB, free: 6.098 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.5594, allocations: 12.22 kB / 1.505 GB, free: 6.086 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.5594, allocations: 0 / 1.505 GB, free: 6.086 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.5594, allocations: 4 kB / 1.505 GB, free: 6.082 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5594, allocations: 4 kB / 1.505 GB, free: 6.078 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.5598, allocations: 342.6 kB / 1.505 GB, free: 5.699 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.5599, allocations: 71.59 kB / 1.505 GB, free: 5.629 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.17e-05/0.56, allocations: 4 kB / 1.505 GB, free: 5.625 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.5601, allocations: 12 kB / 1.505 GB, free: 5.613 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.5602, allocations: 15.91 kB / 1.505 GB, free: 5.598 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.5602, allocations: 8 kB / 1.505 GB, free: 5.59 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005635/0.5607, allocations: 0.4912 MB / 1.506 GB, free: 5.102 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5607, allocations: 0 / 1.506 GB, free: 5.102 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003592/0.5611, allocations: 87.89 kB / 1.506 GB, free: 5.016 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0003167/0.5614, allocations: 140.6 kB / 1.506 GB, free: 4.875 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003073/0.5617, allocations: 107.7 kB / 1.506 GB, free: 4.77 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5617, allocations: 384 / 1.506 GB, free: 4.77 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.5619, allocations: 63.83 kB / 1.506 GB, free: 4.707 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.563, allocations: 283.9 kB / 1.506 GB, free: 4.434 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.5643, allocations: 0.8836 MB / 1.507 GB, free: 3.488 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/0.5649, allocations: 0.905 MB / 1.508 GB, free: 2.559 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002243/0.5651, allocations: 108.6 kB / 1.508 GB, free: 2.453 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.5652, allocations: 35.44 kB / 1.508 GB, free: 2.418 MB / 1.201 GB Notification: Performance of SimCode: time 3e-07/0.5652, allocations: 0 / 1.508 GB, free: 2.418 MB / 1.201 GB Notification: Performance of Templates: time 0.01538/0.5805, allocations: 8.562 MB / 1.517 GB, free: 9.98 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.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: 8.421165536157787]