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.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.0009306/0.0009306, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.00132/0.00132, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8688/0.8688, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.65/1.65, allocations: 377.8 MB / 0.6228 GB, free: 8.641 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: 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 1.413e-06/1.413e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.811e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6457/0.6458, allocations: 155.3 MB / 1.134 GB, free: 8.172 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007131/0.6529, allocations: 7.974 MB / 1.142 GB, free: 2.797 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008088/0.6537, allocations: 33.44 kB / 1.142 GB, free: 2.777 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007924/0.6545, allocations: 312.9 kB / 1.142 GB, free: 2.578 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008283/0.6553, allocations: 325.1 kB / 1.142 GB, free: 2.387 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.6566, allocations: 423.4 kB / 1.143 GB, free: 2.191 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.658, allocations: 1.142 MB / 1.144 GB, free: 1.68 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007094/0.6587, allocations: 449.7 kB / 1.144 GB, free: 1.477 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005401/0.6641, allocations: 2.252 MB / 1.146 GB, free: 464 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006742/0.6648, allocations: 310.4 kB / 1.147 GB, free: 364 kB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.367e-05/0.6649, allocations: 39.34 kB / 1.147 GB, free: 364 kB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002653/0.6651, allocations: 81.25 kB / 1.147 GB, free: 356 kB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003078/0.6654, allocations: 282.7 kB / 1.147 GB, free: 240 kB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.6656, allocations: 184.9 kB / 1.147 GB, free: 168 kB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009282/0.6666, allocations: 0.6395 MB / 1.148 GB, free: 15.92 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.6666, allocations: 1.859 kB / 1.148 GB, free: 15.92 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.875e-06/0.6666, allocations: 0 / 1.148 GB, free: 15.92 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.6666, allocations: 4 kB / 1.148 GB, free: 15.91 MB / 1.01 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.001021/0.6676, allocations: 0.7564 MB / 1.149 GB, free: 15.36 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.6677, allocations: 14.02 kB / 1.149 GB, free: 15.35 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.6678, allocations: 73.33 kB / 1.149 GB, free: 15.31 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.6683, allocations: 374.7 kB / 1.149 GB, free: 15.07 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.6684, allocations: 43.08 kB / 1.149 GB, free: 15.05 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.736e-05/0.6684, allocations: 54.34 kB / 1.149 GB, free: 15.03 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008289/0.6693, allocations: 0.7017 MB / 1.15 GB, free: 14.62 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.6693, allocations: 2.656 kB / 1.15 GB, free: 14.62 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.6693, allocations: 26.3 kB / 1.15 GB, free: 14.6 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/0.6693, allocations: 31.7 kB / 1.15 GB, free: 14.59 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.6698, allocations: 376.7 kB / 1.15 GB, free: 14.48 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.6716, allocations: 2.858 MB / 1.153 GB, free: 11.96 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.6718, allocations: 216.3 kB / 1.153 GB, free: 11.7 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.672, allocations: 125.3 kB / 1.153 GB, free: 11.6 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.672, allocations: 8.391 kB / 1.153 GB, free: 11.59 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.672, allocations: 46.23 kB / 1.153 GB, free: 11.55 MB / 1.01 GB Notification: Performance of pre-optimization done (n=10): time 2.334e-06/0.672, allocations: 0 / 1.153 GB, free: 11.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=10): time 0.0004649/0.6725, allocations: 215.4 kB / 1.154 GB, free: 11.46 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.6726, allocations: 296.7 kB / 1.154 GB, free: 11.11 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.6728, allocations: 264.9 kB / 1.154 GB, free: 10.96 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.6728, allocations: 31.08 kB / 1.154 GB, free: 10.92 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.673, allocations: 304.9 kB / 1.155 GB, free: 10.68 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.673, allocations: 35.08 kB / 1.155 GB, free: 10.65 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.6731, allocations: 32.19 kB / 1.155 GB, free: 10.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.6732, allocations: 345.5 kB / 1.155 GB, free: 10.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.6733, allocations: 33.48 kB / 1.155 GB, free: 10.29 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.6734, allocations: 224.5 kB / 1.155 GB, free: 10.08 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.6736, allocations: 130.1 kB / 1.155 GB, free: 10 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.6736, allocations: 1.422 kB / 1.155 GB, free: 10 MB / 1.01 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002112/0.6738, allocations: 160 kB / 1.155 GB, free: 9.926 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.6738, allocations: 5.562 kB / 1.155 GB, free: 9.926 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6738, allocations: 9.469 kB / 1.155 GB, free: 9.922 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.6738, allocations: 3.391 kB / 1.155 GB, free: 9.922 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.674, allocations: 45.58 kB / 1.155 GB, free: 9.914 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.674, allocations: 2.125 kB / 1.155 GB, free: 9.914 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.091e-05/0.6741, allocations: 16.73 kB / 1.156 GB, free: 9.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.6741, allocations: 7.594 kB / 1.156 GB, free: 9.91 MB / 1.01 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.0001989/0.6743, allocations: 207.7 kB / 1.156 GB, free: 9.758 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.6744, allocations: 30.66 kB / 1.156 GB, free: 9.742 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.6744, allocations: 32.2 kB / 1.156 GB, free: 9.727 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.6744, allocations: 7.688 kB / 1.156 GB, free: 9.723 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6745, allocations: 2.625 kB / 1.156 GB, free: 9.723 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.6745, allocations: 3.234 kB / 1.156 GB, free: 9.723 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.6755, allocations: 1.198 MB / 1.157 GB, free: 8.703 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6755, allocations: 6.906 kB / 1.157 GB, free: 8.699 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.6756, allocations: 42.61 kB / 1.157 GB, free: 8.695 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.6756, allocations: 7.469 kB / 1.157 GB, free: 8.691 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.6756, allocations: 4.453 kB / 1.157 GB, free: 8.691 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.6756, allocations: 6.109 kB / 1.157 GB, free: 8.691 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6756, allocations: 3.062 kB / 1.157 GB, free: 8.691 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.6759, allocations: 301.7 kB / 1.157 GB, free: 8.445 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.6759, allocations: 37.55 kB / 1.157 GB, free: 8.422 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.676, allocations: 13.22 kB / 1.157 GB, free: 8.414 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.19e-05/0.676, allocations: 11.86 kB / 1.157 GB, free: 8.41 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.6761, allocations: 14.28 kB / 1.157 GB, free: 8.406 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.6761, allocations: 4.594 kB / 1.157 GB, free: 8.406 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001422/0.6762, allocations: 196.5 kB / 1.158 GB, free: 8.297 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.6762, allocations: 0 / 1.158 GB, free: 8.297 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003669/0.6766, allocations: 117.5 kB / 1.158 GB, free: 8.258 MB / 1.01 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.0002096/0.6768, allocations: 126.2 kB / 1.158 GB, free: 8.16 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.677, allocations: 109.9 kB / 1.158 GB, free: 8.133 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.677, allocations: 0 / 1.158 GB, free: 8.133 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.6771, allocations: 63.12 kB / 1.158 GB, free: 8.113 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.6776, allocations: 89.06 kB / 1.158 GB, free: 8.094 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.6787, allocations: 0.88 MB / 1.159 GB, free: 7.539 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.6789, allocations: 314.5 kB / 1.159 GB, free: 7.422 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.679, allocations: 21.34 kB / 1.159 GB, free: 7.414 MB / 1.01 GB Notification: Performance of SimCode: time 9.11e-07/0.679, allocations: 0 / 1.159 GB, free: 7.414 MB / 1.01 GB Notification: Performance of Templates: time 0.008028/0.687, allocations: 5.178 MB / 1.164 GB, free: 6.852 MB / 1.01 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.083583181723952]