Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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=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_10_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_10_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.001016/0.001016, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.456/1.456, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437.8 MB / 0.7128 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004313, allocations: 8 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7541/0.7546, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1963/0.951, allocations: 171.5 MB / 1.191 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.9625, allocations: 8.6 MB / 1.2 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008314/0.9633, allocations: 15.88 kB / 1.2 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009983/0.9644, allocations: 234.4 kB / 1.2 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.9656, allocations: 294.6 kB / 1.2 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.9669, allocations: 347.1 kB / 1.2 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00219/0.9691, allocations: 1.612 MB / 1.202 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000953/0.9701, allocations: 490.9 kB / 1.202 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005302/0.9754, allocations: 1.911 MB / 1.204 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006899/0.9761, allocations: 350.3 kB / 1.205 GB, free: 5.891 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.094e-05/0.9762, allocations: 20 kB / 1.205 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.9766, allocations: 59.95 kB / 1.205 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003043/0.9769, allocations: 239.4 kB / 1.205 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.9773, allocations: 276.2 kB / 1.205 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005359/0.9778, allocations: 462.9 kB / 1.206 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9778, allocations: 0 / 1.206 GB, free: 4.848 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.574e-06/0.9778, allocations: 4 kB / 1.206 GB, free: 4.844 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.9779, allocations: 0 / 1.206 GB, free: 4.844 MB / 0.9512 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.001075/0.9789, allocations: 0.7016 MB / 1.206 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.979, allocations: 16.03 kB / 1.206 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.9791, allocations: 67.19 kB / 1.206 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/0.9797, allocations: 418.1 kB / 1.207 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.9798, allocations: 41.31 kB / 1.207 GB, free: 3.523 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.9799, allocations: 55.97 kB / 1.207 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.9811, allocations: 0.7159 MB / 1.208 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.9811, allocations: 3.938 kB / 1.208 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/0.9812, allocations: 31.88 kB / 1.208 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.594e-05/0.9813, allocations: 27.98 kB / 1.208 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.982, allocations: 383.4 kB / 1.208 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/0.985, allocations: 3.223 MB / 1.211 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.9853, allocations: 230.1 kB / 1.211 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.9855, allocations: 136.5 kB / 1.212 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.9856, allocations: 4 kB / 1.212 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.9856, allocations: 42.83 kB / 1.212 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 2.284e-06/0.9856, allocations: 3.938 kB / 1.212 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0007939/0.9864, allocations: 273.7 kB / 1.212 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/0.9866, allocations: 298.6 kB / 1.212 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009241/0.9875, allocations: 0.6839 MB / 1.213 GB, free: 13 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.9876, allocations: 25.7 kB / 1.213 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.9879, allocations: 264.2 kB / 1.213 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/0.9879, allocations: 35.55 kB / 1.213 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.988, allocations: 13.72 kB / 1.213 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.9882, allocations: 374.8 kB / 1.213 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.9883, allocations: 39.97 kB / 1.213 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.9885, allocations: 109 kB / 1.214 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/0.9888, allocations: 137 kB / 1.214 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9888, allocations: 0 / 1.214 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004051/0.9892, allocations: 200.9 kB / 1.214 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.9893, allocations: 13.66 kB / 1.214 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.9893, allocations: 0 / 1.214 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.9893, allocations: 4 kB / 1.214 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.9895, allocations: 51.98 kB / 1.214 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.9896, allocations: 3.938 kB / 1.214 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002622/0.9898, allocations: 59.36 kB / 1.214 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.9899, allocations: 15.98 kB / 1.214 GB, free: 11.61 MB / 0.9669 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.0002284/0.9901, allocations: 193.8 kB / 1.214 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.9903, allocations: 67.19 kB / 1.214 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.9904, allocations: 64.31 kB / 1.214 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.9905, allocations: 4 kB / 1.214 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.9905, allocations: 4 kB / 1.214 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.9905, allocations: 0 / 1.214 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.992, allocations: 1.304 MB / 1.216 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.992, allocations: 4 kB / 1.216 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.9923, allocations: 52.23 kB / 1.216 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.9923, allocations: 4 kB / 1.216 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.9923, allocations: 4 kB / 1.216 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.9923, allocations: 3.938 kB / 1.216 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.9923, allocations: 4 kB / 1.216 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.9928, allocations: 350.5 kB / 1.216 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.993, allocations: 148.3 kB / 1.216 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.9931, allocations: 12.06 kB / 1.216 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.9933, allocations: 19.98 kB / 1.216 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.9934, allocations: 27.8 kB / 1.216 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.9934, allocations: 4 kB / 1.216 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006107/0.994, allocations: 0.4912 MB / 1.217 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.994, allocations: 0 / 1.217 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004025/0.9944, allocations: 83.84 kB / 1.217 GB, free: 8.625 MB / 0.9669 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.000357/0.9948, allocations: 142 kB / 1.217 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003607/0.9951, allocations: 116 kB / 1.217 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.9951, allocations: 0 / 1.217 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.9953, allocations: 67.83 kB / 1.217 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.997, allocations: 282.7 kB / 1.217 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.9986, allocations: 1.062 MB / 1.218 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/0.9992, allocations: 0.913 MB / 1.219 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.01e-05/0.9992, allocations: 35.44 kB / 1.219 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of SimCode: time 6.81e-07/0.9993, allocations: 0 / 1.219 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of Templates: time 0.01455/1.014, allocations: 7.697 MB / 1.227 GB, free: 14.3 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches