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.001135/0.001135, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001553/0.001554, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.722/2.722, allocations: 462.6 MB / 0.736 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003646, allocations: 11.59 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2785, allocations: 159.6 MB / 1.058 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1635/0.442, allocations: 159.9 MB / 1.214 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009452/0.4515, allocations: 8.079 MB / 1.222 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005505/0.4521, allocations: 19.81 kB / 1.222 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006568/0.4527, allocations: 214.4 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007487/0.4535, allocations: 282.7 kB / 1.223 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008813/0.4544, allocations: 303 kB / 1.223 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.4559, allocations: 1.371 MB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007037/0.4566, allocations: 432.4 kB / 1.225 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003363/0.46, allocations: 1.486 MB / 1.226 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004992/0.4605, allocations: 326.6 kB / 1.226 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.978e-05/0.4605, allocations: 20 kB / 1.226 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.4607, allocations: 63.89 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.461, allocations: 231.4 kB / 1.227 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.4612, allocations: 125.4 kB / 1.227 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.4616, allocations: 458.9 kB / 1.227 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4616, allocations: 4 kB / 1.227 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4616, allocations: 0 / 1.227 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.4617, allocations: 0 / 1.227 GB, free: 7.66 MB / 0.9825 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.0008928/0.4626, allocations: 0.7133 MB / 1.228 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.4626, allocations: 8.031 kB / 1.228 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.4627, allocations: 67.25 kB / 1.228 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.4632, allocations: 410.3 kB / 1.228 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.4633, allocations: 45.3 kB / 1.228 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-05/0.4633, allocations: 55.98 kB / 1.228 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.4644, allocations: 0.6988 MB / 1.229 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.4644, allocations: 11.94 kB / 1.229 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.4644, allocations: 23.98 kB / 1.229 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-05/0.4645, allocations: 31.98 kB / 1.229 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006633/0.4652, allocations: 383.4 kB / 1.23 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.4676, allocations: 3.219 MB / 1.233 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.4679, allocations: 234.1 kB / 1.233 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.4681, allocations: 132.6 kB / 1.233 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.4681, allocations: 4 kB / 1.233 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.4681, allocations: 50.48 kB / 1.233 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.4681, allocations: 0 / 1.233 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006774/0.4688, allocations: 265.5 kB / 1.233 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.4689, allocations: 286.7 kB / 1.234 GB, free: 0.5391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007431/0.4697, allocations: 0.6838 MB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.4697, allocations: 29.92 kB / 1.234 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.4699, allocations: 272.2 kB / 1.235 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.4699, allocations: 31.47 kB / 1.235 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.47, allocations: 3.938 kB / 1.235 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4701, allocations: 370.8 kB / 1.235 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.4702, allocations: 39.97 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.4704, allocations: 105.1 kB / 1.235 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.4705, allocations: 47.97 kB / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4705, allocations: 0 / 1.235 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000349/0.4709, allocations: 209.3 kB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4709, allocations: 4 kB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.4709, allocations: 0 / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4709, allocations: 11.88 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.4712, allocations: 47.95 kB / 1.235 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.4712, allocations: 8.031 kB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.4714, allocations: 67.2 kB / 1.236 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.4715, allocations: 8 kB / 1.236 GB, free: 14.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002152/0.4717, allocations: 201.7 kB / 1.236 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.4719, allocations: 67.28 kB / 1.236 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.681e-05/0.472, allocations: 60.33 kB / 1.236 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.472, allocations: 4 kB / 1.236 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.472, allocations: 4 kB / 1.236 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.472, allocations: 4 kB / 1.236 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.4733, allocations: 1.297 MB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.4734, allocations: 4 kB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.4736, allocations: 56.17 kB / 1.237 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.4736, allocations: 4 kB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4736, allocations: 8 kB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.4736, allocations: 4 kB / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4736, allocations: 3.984 kB / 1.237 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.474, allocations: 342.5 kB / 1.238 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.4741, allocations: 160.3 kB / 1.238 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/0.4742, allocations: 7.984 kB / 1.238 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.4744, allocations: 16.27 kB / 1.238 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.4745, allocations: 19.95 kB / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.4745, allocations: 7.984 kB / 1.238 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005354/0.475, allocations: 0.4911 MB / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.475, allocations: 0 / 1.238 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003842/0.4754, allocations: 79.91 kB / 1.238 GB, free: 11.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00028/0.4757, allocations: 149.9 kB / 1.238 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000297/0.476, allocations: 107.8 kB / 1.239 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.476, allocations: 384 / 1.239 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.4762, allocations: 67.91 kB / 1.239 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.4774, allocations: 274.8 kB / 1.239 GB, free: 11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.4787, allocations: 0.9631 MB / 1.24 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.4791, allocations: 0.9052 MB / 1.241 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002633/0.4794, allocations: 100.6 kB / 1.241 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.4795, allocations: 35.44 kB / 1.241 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.4795, allocations: 0 / 1.241 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of Templates: time 0.01338/0.4929, allocations: 7.783 MB / 1.248 GB, free: 1.262 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