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.006305/0.006305, allocations: 100.7 kB / 15.87 MB, free: 5.863 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.001492/0.001492, allocations: 188.9 kB / 16.79 MB, free: 5.805 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.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.805/2.805, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001287, allocations: 59.36 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.353, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1948/0.5479, allocations: 173.8 MB / 1.222 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01127/0.5593, allocations: 8.689 MB / 1.231 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009987/0.5603, allocations: 19.81 kB / 1.231 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.5614, allocations: 242.4 kB / 1.231 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.5625, allocations: 286.7 kB / 1.231 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.5638, allocations: 342.4 kB / 1.232 GB, free: 340 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001926/0.5657, allocations: 1.612 MB / 1.233 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009378/0.5667, allocations: 0.5006 MB / 1.234 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005318/0.572, allocations: 1.927 MB / 1.236 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007285/0.5728, allocations: 374.3 kB / 1.236 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.5729, allocations: 28 kB / 1.236 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003501/0.5733, allocations: 79.88 kB / 1.236 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003504/0.5736, allocations: 243.3 kB / 1.236 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004884/0.5741, allocations: 266.5 kB / 1.237 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005785/0.5747, allocations: 467 kB / 1.237 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5747, allocations: 0 / 1.237 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5748, allocations: 4 kB / 1.237 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.389e-05/0.5748, allocations: 0 / 1.237 GB, free: 10.84 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.001373/0.5762, allocations: 0.8224 MB / 1.238 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.5762, allocations: 11.97 kB / 1.238 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.5764, allocations: 71.19 kB / 1.238 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/0.577, allocations: 410.2 kB / 1.238 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/0.5771, allocations: 41.31 kB / 1.238 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.5771, allocations: 59.92 kB / 1.238 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.5782, allocations: 0.7027 MB / 1.239 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.5783, allocations: 0 / 1.239 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.708e-05/0.5783, allocations: 27.98 kB / 1.239 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-05/0.5784, allocations: 31.86 kB / 1.239 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006858/0.5791, allocations: 391.4 kB / 1.24 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002837/0.5819, allocations: 3.215 MB / 1.243 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.5822, allocations: 222.1 kB / 1.243 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.5824, allocations: 128.6 kB / 1.243 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.5825, allocations: 7.938 kB / 1.243 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.5825, allocations: 42.5 kB / 1.243 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 2.645e-06/0.5825, allocations: 0 / 1.243 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0007311/0.5833, allocations: 253 kB / 1.243 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.5834, allocations: 295.4 kB / 1.244 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008443/0.5843, allocations: 0.6878 MB / 1.244 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.5843, allocations: 25.7 kB / 1.244 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.5845, allocations: 276.1 kB / 1.245 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.5846, allocations: 35.53 kB / 1.245 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.5846, allocations: 29.7 kB / 1.245 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.5848, allocations: 362.8 kB / 1.245 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.5849, allocations: 39.95 kB / 1.245 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.5851, allocations: 97.11 kB / 1.245 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.5854, allocations: 129 kB / 1.245 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5854, allocations: 0 / 1.245 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003781/0.5858, allocations: 188.8 kB / 1.245 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5858, allocations: 8.188 kB / 1.245 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.5858, allocations: 7.938 kB / 1.245 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.5858, allocations: 4 kB / 1.245 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.586, allocations: 35.95 kB / 1.245 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5861, allocations: 4 kB / 1.245 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002572/0.5863, allocations: 63.25 kB / 1.246 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.5864, allocations: 12 kB / 1.246 GB, free: 1.566 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.0002059/0.5866, allocations: 201.7 kB / 1.246 GB, free: 1.359 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.5868, allocations: 55.34 kB / 1.246 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.279e-05/0.5869, allocations: 68.25 kB / 1.246 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.5869, allocations: 4 kB / 1.246 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.5869, allocations: 4 kB / 1.246 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5869, allocations: 4 kB / 1.246 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6073/1.194, allocations: 1.29 MB / 1.247 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/1.194, allocations: 9.062 kB / 1.247 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/1.195, allocations: 41.28 kB / 1.247 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/1.195, allocations: 3.609 kB / 1.247 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/1.195, allocations: 8 kB / 1.247 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/1.195, allocations: 3.859 kB / 1.247 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.195, allocations: 6.031 kB / 1.247 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/1.195, allocations: 338.7 kB / 1.248 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/1.195, allocations: 145.1 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/1.195, allocations: 5.375 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/1.196, allocations: 21.64 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/1.196, allocations: 15.75 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/1.196, allocations: 8.562 kB / 1.248 GB, free: 196.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006903/1.196, allocations: 0.4914 MB / 1.248 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.196, allocations: 0 / 1.248 GB, free: 196.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004442/1.197, allocations: 83.52 kB / 1.248 GB, free: 196.1 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.0003733/1.197, allocations: 144.1 kB / 1.248 GB, free: 196 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003392/1.198, allocations: 100.9 kB / 1.249 GB, free: 196 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.198, allocations: 0.7812 kB / 1.249 GB, free: 196 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/1.198, allocations: 64.7 kB / 1.249 GB, free: 196 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/1.199, allocations: 280.3 kB / 1.249 GB, free: 196 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/1.201, allocations: 1.064 MB / 1.25 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/1.201, allocations: 0.8994 MB / 1.251 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.164e-05/1.201, allocations: 34.97 kB / 1.251 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.201, allocations: 0 / 1.251 GB, free: 194.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.01449/1.216, allocations: 7.788 MB / 1.258 GB, free: 194.2 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/jenkins1/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