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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008908/0.008908, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.778/2.778, allocations: 462.7 MB / 0.7364 GB, free: 316 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003705, allocations: 12.66 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3307, allocations: 159.6 MB / 1.059 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2006/0.5314, allocations: 171.5 MB / 1.226 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.5425, allocations: 8.586 MB / 1.234 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008556/0.5434, allocations: 15.88 kB / 1.235 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009023/0.5443, allocations: 238.3 kB / 1.235 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.5454, allocations: 298.7 kB / 1.235 GB, free: 272 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.5466, allocations: 327.4 kB / 1.235 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002157/0.5488, allocations: 1.624 MB / 1.237 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009911/0.5498, allocations: 490.9 kB / 1.237 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005268/0.5551, allocations: 1.911 MB / 1.239 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006536/0.5557, allocations: 354.4 kB / 1.24 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.5559, allocations: 20 kB / 1.24 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.5562, allocations: 55.95 kB / 1.24 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003347/0.5565, allocations: 231.4 kB / 1.24 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.557, allocations: 284.2 kB / 1.24 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007881/0.5578, allocations: 0.5993 MB / 1.241 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5578, allocations: 0 / 1.241 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5578, allocations: 0 / 1.241 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.647e-05/0.5579, allocations: 0 / 1.241 GB, free: 10.39 MB / 0.9981 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.001259/0.5591, allocations: 0.7027 MB / 1.241 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.5592, allocations: 8.031 kB / 1.241 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.5593, allocations: 71.17 kB / 1.242 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006405/0.56, allocations: 418.1 kB / 1.242 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.56, allocations: 45.3 kB / 1.242 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.561e-05/0.5601, allocations: 48 kB / 1.242 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.5613, allocations: 0.7159 MB / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.5613, allocations: 7.938 kB / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/0.5614, allocations: 23.94 kB / 1.243 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.386e-05/0.5614, allocations: 31.98 kB / 1.243 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007129/0.5622, allocations: 383.4 kB / 1.243 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/0.5651, allocations: 3.227 MB / 1.246 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.5655, allocations: 230 kB / 1.246 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.5657, allocations: 132.6 kB / 1.247 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.5657, allocations: 4 kB / 1.247 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.5657, allocations: 50.48 kB / 1.247 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.5658, allocations: 0 / 1.247 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0007766/0.5665, allocations: 273.3 kB / 1.247 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.5667, allocations: 286.7 kB / 1.247 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008152/0.5675, allocations: 0.6842 MB / 1.248 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.5675, allocations: 37.7 kB / 1.248 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.5678, allocations: 264.2 kB / 1.248 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.5678, allocations: 31.5 kB / 1.248 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.5679, allocations: 21.64 kB / 1.248 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.568, allocations: 366.8 kB / 1.249 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.5682, allocations: 47.95 kB / 1.249 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.5683, allocations: 101 kB / 1.249 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.5686, allocations: 137 kB / 1.249 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5686, allocations: 0 / 1.249 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003884/0.569, allocations: 200.8 kB / 1.249 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.5691, allocations: 7.938 kB / 1.249 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5691, allocations: 4 kB / 1.249 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.5691, allocations: 192 / 1.249 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.5694, allocations: 59.89 kB / 1.249 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.5694, allocations: 4 kB / 1.249 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.5697, allocations: 71.31 kB / 1.249 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.5697, allocations: 8 kB / 1.249 GB, free: 1.152 MB / 0.9981 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.000221/0.5699, allocations: 197.8 kB / 1.249 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.5702, allocations: 59.28 kB / 1.249 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.999e-05/0.5703, allocations: 64.31 kB / 1.249 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5703, allocations: 3.938 kB / 1.249 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5703, allocations: 4 kB / 1.249 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.5703, allocations: 4 kB / 1.249 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6011/1.171, allocations: 1.295 MB / 1.251 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.171, allocations: 4.516 kB / 1.251 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/1.172, allocations: 56.95 kB / 1.251 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/1.172, allocations: 2.906 kB / 1.251 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/1.172, allocations: 6.078 kB / 1.251 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/1.172, allocations: 2.844 kB / 1.251 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/1.172, allocations: 10.11 kB / 1.251 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/1.172, allocations: 342.9 kB / 1.251 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/1.172, allocations: 147 kB / 1.251 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/1.173, allocations: 5.125 kB / 1.251 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/1.173, allocations: 26.73 kB / 1.251 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.855e-05/1.173, allocations: 15.47 kB / 1.251 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/1.173, allocations: 4.781 kB / 1.251 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008136/1.174, allocations: 0.4969 MB / 1.252 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.174, allocations: 4.875 kB / 1.252 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000509/1.174, allocations: 82.38 kB / 1.252 GB, free: 193.2 MB / 0.9981 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.0004297/1.175, allocations: 138.5 kB / 1.252 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00039/1.175, allocations: 114.9 kB / 1.252 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.175, allocations: 0 / 1.252 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/1.175, allocations: 63.14 kB / 1.252 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/1.177, allocations: 272.6 kB / 1.252 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/1.178, allocations: 1.029 MB / 1.253 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/1.179, allocations: 0.904 MB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003121/1.179, allocations: 103.6 kB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/1.179, allocations: 34.16 kB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.179, allocations: 1.312 kB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.01748/1.197, allocations: 8.009 MB / 1.262 GB, free: 191.4 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) 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) Reference file matches