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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008659/0.0008656, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005735/0.005735, allocations: 170.6 kB / 16.27 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.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.786/2.786, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 8.781 kB / 0.9027 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3195, allocations: 159.6 MB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.193/0.5126, allocations: 171.5 MB / 1.226 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.5227, allocations: 8.576 MB / 1.234 GB, free: 304 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009308/0.5237, allocations: 15.88 kB / 1.234 GB, free: 288 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007572/0.5245, allocations: 238.4 kB / 1.235 GB, free: 48 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008498/0.5253, allocations: 298.7 kB / 1.235 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009738/0.5263, allocations: 330.4 kB / 1.235 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.5279, allocations: 1.62 MB / 1.237 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007068/0.5286, allocations: 494.8 kB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004481/0.5331, allocations: 1.907 MB / 1.239 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000483/0.5336, allocations: 354.4 kB / 1.24 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.122e-05/0.5336, allocations: 27.94 kB / 1.24 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.5338, allocations: 55.95 kB / 1.24 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000223/0.5341, allocations: 231.4 kB / 1.24 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000266/0.5343, allocations: 276.2 kB / 1.24 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006521/0.535, allocations: 0.6031 MB / 1.241 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.535, allocations: 0 / 1.241 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.535, allocations: 0 / 1.241 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.535, allocations: 0 / 1.241 GB, free: 9.871 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.0009351/0.536, allocations: 0.7017 MB / 1.241 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.536, allocations: 15.97 kB / 1.241 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.5362, allocations: 71.19 kB / 1.241 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/0.5367, allocations: 418.1 kB / 1.242 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.5368, allocations: 37.3 kB / 1.242 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.5369, allocations: 52 kB / 1.242 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.5379, allocations: 0.7105 MB / 1.243 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.5379, allocations: 11.92 kB / 1.243 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/0.538, allocations: 31.94 kB / 1.243 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.917e-05/0.538, allocations: 27.98 kB / 1.243 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006675/0.5387, allocations: 383.4 kB / 1.243 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.5413, allocations: 3.231 MB / 1.246 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.5416, allocations: 226.1 kB / 1.246 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.5418, allocations: 136.5 kB / 1.247 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.5418, allocations: 0 / 1.247 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.5419, allocations: 46.5 kB / 1.247 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.153e-06/0.5419, allocations: 0 / 1.247 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0007102/0.5426, allocations: 273.6 kB / 1.247 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.5427, allocations: 290.7 kB / 1.247 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007458/0.5435, allocations: 0.6799 MB / 1.248 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.5435, allocations: 33.7 kB / 1.248 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.5438, allocations: 268.3 kB / 1.248 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.5438, allocations: 35.48 kB / 1.248 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.5439, allocations: 17.72 kB / 1.248 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.544, allocations: 374.7 kB / 1.249 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.5442, allocations: 35.97 kB / 1.249 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.5444, allocations: 105.1 kB / 1.249 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.5446, allocations: 133 kB / 1.249 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5447, allocations: 4.188 kB / 1.249 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003619/0.545, allocations: 200.7 kB / 1.249 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5451, allocations: 15.88 kB / 1.249 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.5451, allocations: 0 / 1.249 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.5451, allocations: 0 / 1.249 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.5453, allocations: 64.08 kB / 1.249 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5454, allocations: 0 / 1.249 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.5456, allocations: 63.27 kB / 1.249 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.5456, allocations: 8 kB / 1.249 GB, free: 0.6328 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.0002215/0.5459, allocations: 205.8 kB / 1.249 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.5461, allocations: 59.28 kB / 1.249 GB, free: 372 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.841e-05/0.5462, allocations: 60.31 kB / 1.249 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.5462, allocations: 4 kB / 1.249 GB, free: 300 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5462, allocations: 7.938 kB / 1.249 GB, free: 292 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5462, allocations: 0 / 1.249 GB, free: 292 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5708/1.117, allocations: 1.291 MB / 1.251 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/1.117, allocations: 3.531 kB / 1.251 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/1.117, allocations: 59.59 kB / 1.251 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/1.117, allocations: 3.594 kB / 1.251 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/1.117, allocations: 4.312 kB / 1.251 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/1.117, allocations: 3.312 kB / 1.251 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/1.117, allocations: 10.19 kB / 1.251 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/1.118, allocations: 344.5 kB / 1.251 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/1.118, allocations: 148.5 kB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/1.118, allocations: 8.812 kB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/1.118, allocations: 20.84 kB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/1.118, allocations: 20.98 kB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/1.118, allocations: 7.188 kB / 1.251 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006249/1.119, allocations: 0.4954 MB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.119, allocations: 0 / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004087/1.119, allocations: 80.09 kB / 1.252 GB, free: 192.6 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.0002982/1.12, allocations: 134.3 kB / 1.252 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003316/1.12, allocations: 115.8 kB / 1.252 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/1.12, allocations: 7.938 kB / 1.252 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001507/1.12, allocations: 67.67 kB / 1.252 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/1.122, allocations: 267.8 kB / 1.252 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/1.123, allocations: 1.03 MB / 1.253 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/1.123, allocations: 0.9031 MB / 1.254 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002629/1.124, allocations: 102.2 kB / 1.254 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.239e-05/1.124, allocations: 34.56 kB / 1.254 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/1.124, allocations: 3.156 kB / 1.254 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.01549/1.139, allocations: 8.009 MB / 1.262 GB, free: 190.8 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