Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001699/0.001699, allocations: 80.28 kB / 19.18 MB, free: 2.531 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.002133/0.002133, allocations: 164.6 kB / 22.46 MB, free: 5.359 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.59/1.59, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.898/2.898, allocations: 389 MB / 0.633 GB, free: 0.9844 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sources.Examples.PropertySource_h") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.783e-05, allocations: 2.281 kB / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.8096/0.8096, allocations: 155.2 MB / 1.152 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009273/0.8189, allocations: 7.949 MB / 1.159 GB, free: 45.04 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009537/0.8198, allocations: 31.44 kB / 1.16 GB, free: 45.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009115/0.8208, allocations: 312.1 kB / 1.16 GB, free: 45.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0009057/0.8217, allocations: 314.2 kB / 1.16 GB, free: 45.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.823, allocations: 418.1 kB / 1.161 GB, free: 45.02 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.8242, allocations: 1.083 MB / 1.162 GB, free: 45.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005366/0.8247, allocations: 382.5 kB / 1.162 GB, free: 44.98 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005052/0.8298, allocations: 2.231 MB / 1.164 GB, free: 44.8 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005089/0.8303, allocations: 309 kB / 1.164 GB, free: 44.77 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.351e-05/0.8304, allocations: 46 kB / 1.164 GB, free: 44.77 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.8306, allocations: 77.77 kB / 1.165 GB, free: 44.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.8308, allocations: 276.1 kB / 1.165 GB, free: 44.73 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.831, allocations: 191.8 kB / 1.165 GB, free: 44.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006306/0.8316, allocations: 0.6363 MB / 1.166 GB, free: 44.63 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.8316, allocations: 0.8125 kB / 1.166 GB, free: 44.63 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8316, allocations: 0 / 1.166 GB, free: 44.63 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.8316, allocations: 0.8438 kB / 1.166 GB, free: 44.63 MB / 1.076 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.0008638/0.8325, allocations: 0.7359 MB / 1.166 GB, free: 44.19 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.8325, allocations: 8.344 kB / 1.166 GB, free: 44.19 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.8326, allocations: 72.17 kB / 1.166 GB, free: 44.15 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005837/0.8332, allocations: 370.3 kB / 1.167 GB, free: 43.97 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.8333, allocations: 45.28 kB / 1.167 GB, free: 43.96 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.8333, allocations: 58.19 kB / 1.167 GB, free: 43.96 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008429/0.8342, allocations: 0.7011 MB / 1.168 GB, free: 43.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.8342, allocations: 6.406 kB / 1.168 GB, free: 43.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.8342, allocations: 22.5 kB / 1.168 GB, free: 43.71 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-05/0.8343, allocations: 29.44 kB / 1.168 GB, free: 43.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005464/0.8348, allocations: 370.9 kB / 1.168 GB, free: 43.71 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.8364, allocations: 2.862 MB / 1.171 GB, free: 41.43 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.8366, allocations: 216.6 kB / 1.171 GB, free: 41.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.8367, allocations: 129.1 kB / 1.171 GB, free: 41.12 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.8368, allocations: 3.594 kB / 1.171 GB, free: 41.12 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.8368, allocations: 49.06 kB / 1.171 GB, free: 41.08 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.8368, allocations: 3.875 kB / 1.171 GB, free: 41.08 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.000614/0.8374, allocations: 209.1 kB / 1.171 GB, free: 41.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.8375, allocations: 295 kB / 1.172 GB, free: 40.7 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.8377, allocations: 257 kB / 1.172 GB, free: 40.58 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.8377, allocations: 31.58 kB / 1.172 GB, free: 40.55 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.8378, allocations: 300.2 kB / 1.172 GB, free: 40.37 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.8378, allocations: 40.67 kB / 1.172 GB, free: 40.35 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.8379, allocations: 27.72 kB / 1.172 GB, free: 40.33 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.838, allocations: 340 kB / 1.173 GB, free: 40.02 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.8381, allocations: 33.66 kB / 1.173 GB, free: 40.02 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.8382, allocations: 224.6 kB / 1.173 GB, free: 39.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.8385, allocations: 134.4 kB / 1.173 GB, free: 39.77 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8385, allocations: 0 / 1.173 GB, free: 39.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002811/0.8387, allocations: 161.6 kB / 1.173 GB, free: 39.72 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.8388, allocations: 11.69 kB / 1.173 GB, free: 39.72 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8388, allocations: 2.5 kB / 1.173 GB, free: 39.72 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.8388, allocations: 2.906 kB / 1.173 GB, free: 39.72 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.839, allocations: 41.05 kB / 1.173 GB, free: 39.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.839, allocations: 3.531 kB / 1.173 GB, free: 39.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.8391, allocations: 22.69 kB / 1.173 GB, free: 39.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.8391, allocations: 5.781 kB / 1.173 GB, free: 39.71 MB / 1.076 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.0001548/0.8393, allocations: 206.6 kB / 1.173 GB, free: 39.59 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.8395, allocations: 25.3 kB / 1.173 GB, free: 39.58 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.8395, allocations: 32.7 kB / 1.173 GB, free: 39.58 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.8395, allocations: 2.375 kB / 1.173 GB, free: 39.58 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.8395, allocations: 3.594 kB / 1.173 GB, free: 39.58 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.8395, allocations: 8.359 kB / 1.173 GB, free: 39.58 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009898/0.8405, allocations: 1.195 MB / 1.175 GB, free: 38.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8405, allocations: 3.594 kB / 1.175 GB, free: 38.67 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.8407, allocations: 44.16 kB / 1.175 GB, free: 38.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.8407, allocations: 5.359 kB / 1.175 GB, free: 38.67 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.8407, allocations: 11.03 kB / 1.175 GB, free: 38.67 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.8407, allocations: 6.562 kB / 1.175 GB, free: 38.66 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.8407, allocations: 7.312 kB / 1.175 GB, free: 38.66 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.841, allocations: 294.4 kB / 1.175 GB, free: 38.45 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.8411, allocations: 30.22 kB / 1.175 GB, free: 38.44 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.698e-05/0.8411, allocations: 4.562 kB / 1.175 GB, free: 38.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.8412, allocations: 19.22 kB / 1.175 GB, free: 38.43 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.8413, allocations: 15.23 kB / 1.175 GB, free: 38.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.8413, allocations: 6.375 kB / 1.175 GB, free: 38.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001176/0.8414, allocations: 189 kB / 1.175 GB, free: 38.36 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8414, allocations: 0.6562 kB / 1.175 GB, free: 38.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003857/0.8418, allocations: 119.3 kB / 1.175 GB, free: 38.32 MB / 1.076 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.0001823/0.842, allocations: 123.6 kB / 1.175 GB, free: 38.22 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.8423, allocations: 109 kB / 1.176 GB, free: 38.22 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8423, allocations: 3.938 kB / 1.176 GB, free: 38.22 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.8424, allocations: 63.09 kB / 1.176 GB, free: 38.22 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.8429, allocations: 79.98 kB / 1.176 GB, free: 38.21 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000948/0.8439, allocations: 0.8055 MB / 1.176 GB, free: 37.77 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.8441, allocations: 302.3 kB / 1.177 GB, free: 37.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.8442, allocations: 53.53 kB / 1.177 GB, free: 37.68 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.8443, allocations: 19.75 kB / 1.177 GB, free: 37.67 MB / 1.076 GB Notification: Performance of SimCode: time 4.01e-07/0.8443, allocations: 0 / 1.177 GB, free: 37.67 MB / 1.076 GB Notification: Performance of Templates: time 0.007746/0.852, allocations: 2.797 MB / 1.18 GB, free: 37.49 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.194940485060215]