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.001077/0.001077, allocations: 99.42 kB / 16.02 MB, free: 76 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.001398/0.001398, allocations: 187 kB / 16.92 MB, free: 6.75 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.536/1.536, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.89/2.89, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003877, allocations: 10.66 kB / 0.9034 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3375, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1874/0.525, allocations: 171.5 MB / 1.227 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.5356, allocations: 8.588 MB / 1.235 GB, free: 304 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008398/0.5365, allocations: 15.88 kB / 1.235 GB, free: 288 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009026/0.5375, allocations: 238.4 kB / 1.235 GB, free: 48 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.5385, allocations: 294.6 kB / 1.236 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.5396, allocations: 342.3 kB / 1.236 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001939/0.5416, allocations: 1.616 MB / 1.238 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008691/0.5425, allocations: 490.9 kB / 1.238 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00473/0.5472, allocations: 1.911 MB / 1.24 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006042/0.5478, allocations: 350.4 kB / 1.24 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.699e-05/0.5479, allocations: 20 kB / 1.24 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.5482, allocations: 51.97 kB / 1.24 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.5485, allocations: 243.4 kB / 1.241 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.5489, allocations: 280.2 kB / 1.241 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005605/0.5494, allocations: 466.8 kB / 1.241 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.5494, allocations: 0 / 1.241 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5495, allocations: 4 kB / 1.241 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.12e-05/0.5495, allocations: 0 / 1.241 GB, free: 10.01 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.001078/0.5506, allocations: 0.7017 MB / 1.242 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.5506, allocations: 19.97 kB / 1.242 GB, free: 9.242 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.5508, allocations: 67.19 kB / 1.242 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005824/0.5514, allocations: 418.1 kB / 1.242 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.5514, allocations: 41.31 kB / 1.242 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.5515, allocations: 51.98 kB / 1.243 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.5526, allocations: 0.7066 MB / 1.243 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.5526, allocations: 7.875 kB / 1.243 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/0.5527, allocations: 27.94 kB / 1.243 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.465e-05/0.5527, allocations: 27.97 kB / 1.243 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006983/0.5534, allocations: 387.4 kB / 1.244 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002721/0.5562, allocations: 3.231 MB / 1.247 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.5564, allocations: 226 kB / 1.247 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.5566, allocations: 128.6 kB / 1.247 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.5567, allocations: 12.31 kB / 1.247 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.5567, allocations: 42.5 kB / 1.247 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 3.246e-06/0.5567, allocations: 0 / 1.247 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0007476/0.5575, allocations: 277.6 kB / 1.247 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.5576, allocations: 290.8 kB / 1.248 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007788/0.5584, allocations: 0.6877 MB / 1.248 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.5584, allocations: 25.7 kB / 1.248 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.5586, allocations: 264.2 kB / 1.249 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.5587, allocations: 39.42 kB / 1.249 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.5587, allocations: 17.72 kB / 1.249 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5589, allocations: 370.8 kB / 1.249 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.559, allocations: 43.95 kB / 1.249 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.5592, allocations: 105 kB / 1.249 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.5595, allocations: 137 kB / 1.249 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5595, allocations: 0 / 1.249 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003908/0.5599, allocations: 200.9 kB / 1.25 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.5599, allocations: 11.94 kB / 1.25 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.5599, allocations: 3.984 kB / 1.25 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.5599, allocations: 4 kB / 1.25 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.5602, allocations: 51.94 kB / 1.25 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.5602, allocations: 3.984 kB / 1.25 GB, free: 0.8438 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.5605, allocations: 63.27 kB / 1.25 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.5605, allocations: 12 kB / 1.25 GB, free: 0.7695 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.0002096/0.5607, allocations: 193.8 kB / 1.25 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.561, allocations: 67.27 kB / 1.25 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.163e-05/0.5611, allocations: 64.27 kB / 1.25 GB, free: 444 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.5611, allocations: 4 kB / 1.25 GB, free: 440 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5611, allocations: 4 kB / 1.25 GB, free: 436 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5611, allocations: 0 / 1.25 GB, free: 436 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6768/1.238, allocations: 1.296 MB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.238, allocations: 2.688 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/1.238, allocations: 57.92 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/1.238, allocations: 3.438 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/1.238, allocations: 4.688 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/1.238, allocations: 6.875 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/1.238, allocations: 7.438 kB / 1.251 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/1.239, allocations: 340 kB / 1.252 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/1.239, allocations: 150.9 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/1.239, allocations: 5.641 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/1.239, allocations: 21.2 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/1.239, allocations: 22.16 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/1.239, allocations: 6.656 kB / 1.252 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006716/1.24, allocations: 0.4945 MB / 1.252 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.01e-07/1.24, allocations: 0 / 1.252 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004304/1.24, allocations: 87.67 kB / 1.252 GB, free: 192.5 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.0003375/1.241, allocations: 127 kB / 1.253 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003484/1.241, allocations: 114.6 kB / 1.253 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/1.241, allocations: 0 / 1.253 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001607/1.241, allocations: 72.39 kB / 1.253 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/1.243, allocations: 270.2 kB / 1.253 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/1.244, allocations: 1.074 MB / 1.254 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/1.245, allocations: 0.9041 MB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.033e-05/1.245, allocations: 35.66 kB / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.245, allocations: 0 / 1.255 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.01366/1.259, allocations: 7.714 MB / 1.262 GB, free: 190.6 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