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.001388/0.001388, allocations: 79.97 kB / 19.18 MB, free: 2.527 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.001578/0.001578, allocations: 165.5 kB / 22.46 MB, free: 5.355 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.509/1.509, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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 2.853/2.853, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] 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.532e-06/1.532e-06, allocations: 3.938 kB / 0.9814 GB, free: 12 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.815e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2104/0.2104, allocations: 155.3 MB / 1.133 GB, free: 124 kB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.6086/0.819, allocations: 7.951 MB / 1.141 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008855/0.8199, allocations: 32.91 kB / 1.141 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.8209, allocations: 318 kB / 1.141 GB, free: 45.41 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.8219, allocations: 324.3 kB / 1.141 GB, free: 45.4 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.8235, allocations: 428.7 kB / 1.142 GB, free: 45.39 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001667/0.8251, allocations: 1.14 MB / 1.143 GB, free: 45.39 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.8263, allocations: 438.8 kB / 1.143 GB, free: 45.37 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007505/0.8338, allocations: 2.253 MB / 1.146 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000878/0.8347, allocations: 309.8 kB / 1.146 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.8348, allocations: 40.53 kB / 1.146 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.8352, allocations: 84.61 kB / 1.146 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004156/0.8356, allocations: 273.6 kB / 1.146 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004011/0.836, allocations: 187.6 kB / 1.146 GB, free: 45.31 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.8371, allocations: 0.6418 MB / 1.147 GB, free: 45.26 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.8371, allocations: 3.812 kB / 1.147 GB, free: 45.26 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.314e-06/0.8371, allocations: 0.9688 kB / 1.147 GB, free: 45.26 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.8371, allocations: 0 / 1.147 GB, free: 45.26 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.001312/0.8384, allocations: 0.7534 MB / 1.148 GB, free: 44.8 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.8385, allocations: 10.31 kB / 1.148 GB, free: 44.8 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.8386, allocations: 73.47 kB / 1.148 GB, free: 44.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009549/0.8396, allocations: 383.2 kB / 1.148 GB, free: 44.58 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.8396, allocations: 41.41 kB / 1.148 GB, free: 44.58 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.603e-05/0.8397, allocations: 56.06 kB / 1.148 GB, free: 44.58 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.841, allocations: 0.7022 MB / 1.149 GB, free: 44.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.841, allocations: 6.125 kB / 1.149 GB, free: 44.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.209e-05/0.8411, allocations: 21.38 kB / 1.149 GB, free: 44.34 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.539e-05/0.8411, allocations: 27.41 kB / 1.149 GB, free: 44.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008292/0.842, allocations: 385.1 kB / 1.149 GB, free: 44.34 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.8444, allocations: 2.86 MB / 1.152 GB, free: 42.06 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.8446, allocations: 224.1 kB / 1.153 GB, free: 41.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.8449, allocations: 124.1 kB / 1.153 GB, free: 41.74 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.8449, allocations: 8.625 kB / 1.153 GB, free: 41.74 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.8449, allocations: 47.81 kB / 1.153 GB, free: 41.7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.8449, allocations: 1.094 kB / 1.153 GB, free: 41.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0009787/0.8459, allocations: 216.8 kB / 1.153 GB, free: 41.66 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.021e-05/0.846, allocations: 291.1 kB / 1.153 GB, free: 41.31 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.8463, allocations: 272.1 kB / 1.153 GB, free: 41.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.8463, allocations: 25.7 kB / 1.153 GB, free: 41.17 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.8465, allocations: 310.8 kB / 1.154 GB, free: 40.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.8465, allocations: 33.67 kB / 1.154 GB, free: 40.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.8466, allocations: 28.55 kB / 1.154 GB, free: 40.95 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.841e-05/0.8467, allocations: 340.7 kB / 1.154 GB, free: 40.64 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.8468, allocations: 38.2 kB / 1.154 GB, free: 40.64 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.8471, allocations: 229.2 kB / 1.154 GB, free: 40.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.8474, allocations: 127.5 kB / 1.155 GB, free: 40.39 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.8474, allocations: 3.938 kB / 1.155 GB, free: 40.38 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004584/0.8479, allocations: 156.9 kB / 1.155 GB, free: 40.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.8479, allocations: 6.75 kB / 1.155 GB, free: 40.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.8479, allocations: 2.312 kB / 1.155 GB, free: 40.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.8479, allocations: 3.688 kB / 1.155 GB, free: 40.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.8483, allocations: 41.55 kB / 1.155 GB, free: 40.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.8483, allocations: 3.609 kB / 1.155 GB, free: 40.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.8485, allocations: 24.14 kB / 1.155 GB, free: 40.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.8485, allocations: 5 kB / 1.155 GB, free: 40.33 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.000251/0.8488, allocations: 212.2 kB / 1.155 GB, free: 40.21 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/0.8491, allocations: 25.73 kB / 1.155 GB, free: 40.2 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.968e-05/0.8492, allocations: 33.81 kB / 1.155 GB, free: 40.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.8492, allocations: 2.469 kB / 1.155 GB, free: 40.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.8492, allocations: 4.062 kB / 1.155 GB, free: 40.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.8492, allocations: 2.844 kB / 1.155 GB, free: 40.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.8509, allocations: 1.202 MB / 1.156 GB, free: 39.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.8509, allocations: 2.688 kB / 1.156 GB, free: 39.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.8512, allocations: 41.08 kB / 1.156 GB, free: 39.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/0.8512, allocations: 4.344 kB / 1.156 GB, free: 39.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.8512, allocations: 5.25 kB / 1.156 GB, free: 39.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.8512, allocations: 12.12 kB / 1.156 GB, free: 39.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.8512, allocations: 5.969 kB / 1.156 GB, free: 39.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.8517, allocations: 303.7 kB / 1.157 GB, free: 39.07 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.07e-05/0.8518, allocations: 32.89 kB / 1.157 GB, free: 39.05 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.8518, allocations: 6.094 kB / 1.157 GB, free: 39.05 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.8521, allocations: 13.62 kB / 1.157 GB, free: 39.05 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.8521, allocations: 13.67 kB / 1.157 GB, free: 39.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.8521, allocations: 8.719 kB / 1.157 GB, free: 39.05 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002045/0.8523, allocations: 192.9 kB / 1.157 GB, free: 38.97 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8523, allocations: 0.9375 kB / 1.157 GB, free: 38.97 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007154/0.8531, allocations: 129 kB / 1.157 GB, free: 38.93 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.0002337/0.8533, allocations: 121.4 kB / 1.157 GB, free: 38.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004493/0.8537, allocations: 114 kB / 1.157 GB, free: 38.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8537, allocations: 1.031 kB / 1.157 GB, free: 38.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.854, allocations: 60.61 kB / 1.157 GB, free: 38.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.855, allocations: 98.52 kB / 1.157 GB, free: 38.84 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.8564, allocations: 0.8167 MB / 1.158 GB, free: 38.39 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.8567, allocations: 310.9 kB / 1.158 GB, free: 38.31 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.8568, allocations: 53.66 kB / 1.158 GB, free: 38.3 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.8568, allocations: 25.52 kB / 1.158 GB, free: 38.29 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.8568, allocations: 1.031 kB / 1.158 GB, free: 38.29 MB / 1.076 GB Notification: Performance of Templates: time 0.007163/0.864, allocations: 3.155 MB / 1.162 GB, free: 38.1 MB / 1.076 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: 9.20211148262024]