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.001301/0.001301, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001324/0.001324, allocations: 198 kB / 17.3 MB, free: 5.883 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.395/2.395, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64.31 kB / 0.8707 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3021, allocations: 151.6 MB / 1.019 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6597/0.9619, allocations: 176 MB / 1.191 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009951/0.9719, allocations: 8.717 MB / 1.199 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000697/0.9726, allocations: 22.44 kB / 1.199 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007438/0.9733, allocations: 303.5 kB / 1.199 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007236/0.9741, allocations: 302.3 kB / 1.2 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009714/0.9751, allocations: 376.3 kB / 1.2 GB, free: 8.73 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.9764, allocations: 1.153 MB / 1.201 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008678/0.9773, allocations: 0.5793 MB / 1.202 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004624/0.9819, allocations: 2.06 MB / 1.204 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004953/0.9824, allocations: 362.4 kB / 1.204 GB, free: 6.125 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.714e-05/0.9825, allocations: 42.69 kB / 1.204 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.9828, allocations: 79.67 kB / 1.204 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002624/0.983, allocations: 249 kB / 1.205 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.9833, allocations: 289.5 kB / 1.205 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007144/0.9841, allocations: 0.6362 MB / 1.205 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.9841, allocations: 0 / 1.205 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.677e-06/0.9841, allocations: 0 / 1.205 GB, free: 5.344 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.637e-05/0.9841, allocations: 3.938 kB / 1.205 GB, free: 5.34 MB / 0.9044 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.001091/0.9852, allocations: 0.8199 MB / 1.206 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.9853, allocations: 15.08 kB / 1.206 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.9854, allocations: 66.69 kB / 1.206 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/0.9861, allocations: 445.5 kB / 1.207 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.9862, allocations: 40.25 kB / 1.207 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.9863, allocations: 58.27 kB / 1.207 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009745/0.9872, allocations: 0.7 MB / 1.207 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.9873, allocations: 3.938 kB / 1.207 GB, free: 3.664 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/0.9873, allocations: 23.97 kB / 1.208 GB, free: 3.648 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/0.9874, allocations: 39.11 kB / 1.208 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005826/0.988, allocations: 367.5 kB / 1.208 GB, free: 3.461 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/0.9906, allocations: 3.218 MB / 1.211 GB, free: 496 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.9909, allocations: 215.6 kB / 1.211 GB, free: 216 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.9911, allocations: 131.3 kB / 1.211 GB, free: 96 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.9911, allocations: 2.438 kB / 1.211 GB, free: 96 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.9911, allocations: 46.91 kB / 1.211 GB, free: 44 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.9911, allocations: 0 / 1.211 GB, free: 44 kB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006625/0.9918, allocations: 252.9 kB / 1.212 GB, free: 15.89 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.9919, allocations: 295 kB / 1.212 GB, free: 15.54 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006701/0.9926, allocations: 0.6838 MB / 1.213 GB, free: 15.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.9926, allocations: 29.7 kB / 1.213 GB, free: 15.13 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.9928, allocations: 264.6 kB / 1.213 GB, free: 14.9 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.9929, allocations: 37.3 kB / 1.213 GB, free: 14.87 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.9929, allocations: 31.86 kB / 1.213 GB, free: 14.84 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.9931, allocations: 367.9 kB / 1.213 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.9932, allocations: 32.25 kB / 1.213 GB, free: 14.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.9934, allocations: 98.91 kB / 1.213 GB, free: 14.4 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/0.9936, allocations: 127.1 kB / 1.214 GB, free: 14.3 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.9936, allocations: 4 kB / 1.214 GB, free: 14.3 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003222/0.9939, allocations: 187.4 kB / 1.214 GB, free: 14.19 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.994, allocations: 7.812 kB / 1.214 GB, free: 14.19 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.994, allocations: 0 / 1.214 GB, free: 14.19 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.994, allocations: 6.312 kB / 1.214 GB, free: 14.19 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.9942, allocations: 47.98 kB / 1.214 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.9942, allocations: 0.7031 kB / 1.214 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.9944, allocations: 56.3 kB / 1.214 GB, free: 14.13 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.9945, allocations: 11.06 kB / 1.214 GB, free: 14.13 MB / 0.92 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.0001885/0.9946, allocations: 200.3 kB / 1.214 GB, free: 13.96 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.9949, allocations: 61.56 kB / 1.214 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.754e-05/0.995, allocations: 60.92 kB / 1.214 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.995, allocations: 6.906 kB / 1.214 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.995, allocations: 3 kB / 1.214 GB, free: 13.89 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.995, allocations: 10.2 kB / 1.214 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.9963, allocations: 1.305 MB / 1.215 GB, free: 12.67 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.9964, allocations: 112 / 1.215 GB, free: 12.67 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.9965, allocations: 45.48 kB / 1.216 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.9966, allocations: 2.906 kB / 1.216 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.9966, allocations: 6.781 kB / 1.216 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.9966, allocations: 6.312 kB / 1.216 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9966, allocations: 9.25 kB / 1.216 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.997, allocations: 329.1 kB / 1.216 GB, free: 12.36 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.9971, allocations: 147.4 kB / 1.216 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.546e-05/0.9972, allocations: 6.734 kB / 1.216 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.9974, allocations: 10.69 kB / 1.216 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.9975, allocations: 25.41 kB / 1.216 GB, free: 12.19 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.9975, allocations: 4.719 kB / 1.216 GB, free: 12.19 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005205/0.998, allocations: 0.4954 MB / 1.217 GB, free: 11.91 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/0.998, allocations: 0 / 1.217 GB, free: 11.91 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003718/0.9984, allocations: 84.56 kB / 1.217 GB, free: 11.9 MB / 0.92 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.0002841/0.9987, allocations: 140.7 kB / 1.217 GB, free: 11.8 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.999, allocations: 109.3 kB / 1.217 GB, free: 11.75 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.999, allocations: 0 / 1.217 GB, free: 11.75 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.9991, allocations: 64.11 kB / 1.217 GB, free: 11.72 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/1, allocations: 285.2 kB / 1.217 GB, free: 11.56 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/1.001, allocations: 0.8737 MB / 1.218 GB, free: 10.98 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/1.002, allocations: 0.9043 MB / 1.219 GB, free: 10.18 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002273/1.002, allocations: 103.5 kB / 1.219 GB, free: 10.13 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/1.002, allocations: 35.09 kB / 1.219 GB, free: 10.13 MB / 0.92 GB Notification: Performance of SimCode: time 2.61e-07/1.002, allocations: 4 kB / 1.219 GB, free: 10.12 MB / 0.92 GB Notification: Performance of Templates: time 0.01382/1.016, allocations: 8.405 MB / 1.227 GB, free: 2.812 MB / 0.92 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 -s gbode -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