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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001076/0.001076, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0111/0.0111, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.427/1.427, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004592, allocations: 12 kB / 0.8728 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.6581, allocations: 153.8 MB / 1.023 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1979/0.856, allocations: 171.5 MB / 1.19 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.8673, allocations: 8.599 MB / 1.199 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.8686, allocations: 15.88 kB / 1.199 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.8697, allocations: 238.4 kB / 1.199 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000969/0.8706, allocations: 298.7 kB / 1.199 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.8717, allocations: 331 kB / 1.2 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001635/0.8734, allocations: 1.62 MB / 1.201 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007093/0.8741, allocations: 498.8 kB / 1.202 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005064/0.8792, allocations: 1.919 MB / 1.204 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005274/0.8797, allocations: 342.4 kB / 1.204 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.714e-05/0.8798, allocations: 20 kB / 1.204 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.88, allocations: 59.95 kB / 1.204 GB, free: 5.895 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.8802, allocations: 231.4 kB / 1.204 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.8805, allocations: 288.2 kB / 1.205 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006056/0.8811, allocations: 0.5876 MB / 1.205 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.381e-05/0.8811, allocations: 4 kB / 1.205 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.855e-06/0.8811, allocations: 0 / 1.205 GB, free: 4.785 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.8812, allocations: 0 / 1.205 GB, free: 4.785 MB / 0.9512 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.001061/0.8822, allocations: 0.7056 MB / 1.206 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.8823, allocations: 8.031 kB / 1.206 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.8824, allocations: 71.19 kB / 1.206 GB, free: 3.953 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.8829, allocations: 414.1 kB / 1.206 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/0.883, allocations: 45.3 kB / 1.206 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.8831, allocations: 52 kB / 1.206 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.8841, allocations: 0.7066 MB / 1.207 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.8841, allocations: 7.938 kB / 1.207 GB, free: 2.613 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.8842, allocations: 27.94 kB / 1.207 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.667e-05/0.8842, allocations: 35.98 kB / 1.207 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006373/0.8849, allocations: 379.4 kB / 1.207 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.8875, allocations: 3.223 MB / 1.211 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.8878, allocations: 230.4 kB / 1.211 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.888, allocations: 132.6 kB / 1.211 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.888, allocations: 8 kB / 1.211 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.888, allocations: 50.42 kB / 1.211 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 2.114e-06/0.8881, allocations: 4 kB / 1.211 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0006971/0.8888, allocations: 269.6 kB / 1.211 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.8889, allocations: 286.7 kB / 1.212 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007376/0.8897, allocations: 0.6877 MB / 1.212 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.8897, allocations: 33.64 kB / 1.212 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.8899, allocations: 268.2 kB / 1.213 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.8899, allocations: 31.56 kB / 1.213 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.89, allocations: 17.7 kB / 1.213 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.8901, allocations: 362.8 kB / 1.213 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.8903, allocations: 43.95 kB / 1.213 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.8904, allocations: 105 kB / 1.213 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.8907, allocations: 137 kB / 1.213 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.8907, allocations: 0 / 1.213 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003484/0.8911, allocations: 204.8 kB / 1.213 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.8911, allocations: 7.938 kB / 1.213 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8911, allocations: 0 / 1.213 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.8911, allocations: 4 kB / 1.213 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.8914, allocations: 56.08 kB / 1.213 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/0.8914, allocations: 4 kB / 1.213 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.8916, allocations: 63.34 kB / 1.214 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.8917, allocations: 8 kB / 1.214 GB, free: 11.56 MB / 0.9669 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.000208/0.8919, allocations: 205.7 kB / 1.214 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.8921, allocations: 63.19 kB / 1.214 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.083e-05/0.8922, allocations: 64.31 kB / 1.214 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.8922, allocations: 0 / 1.214 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.8922, allocations: 4 kB / 1.214 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.8922, allocations: 4 kB / 1.214 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.8936, allocations: 1.297 MB / 1.215 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.8936, allocations: 4 kB / 1.215 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.8938, allocations: 56.17 kB / 1.215 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.8938, allocations: 4 kB / 1.215 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.8938, allocations: 11.98 kB / 1.215 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.8938, allocations: 4 kB / 1.215 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.8938, allocations: 3.984 kB / 1.215 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.8942, allocations: 346.4 kB / 1.216 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.8944, allocations: 156.3 kB / 1.216 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.8945, allocations: 8 kB / 1.216 GB, free: 9.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.8946, allocations: 19.98 kB / 1.216 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.8947, allocations: 15.92 kB / 1.216 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.8947, allocations: 4 kB / 1.216 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000517/0.8952, allocations: 0.4951 MB / 1.216 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8952, allocations: 0 / 1.216 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003727/0.8956, allocations: 87.84 kB / 1.216 GB, free: 8.57 MB / 0.9669 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.0003848/0.896, allocations: 143.6 kB / 1.216 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003121/0.8963, allocations: 111.8 kB / 1.217 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8963, allocations: 0 / 1.217 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.8965, allocations: 68.83 kB / 1.217 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.898, allocations: 272.4 kB / 1.217 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.8994, allocations: 1.018 MB / 1.218 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.8999, allocations: 0.9052 MB / 1.219 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002451/0.9001, allocations: 104.6 kB / 1.219 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.9002, allocations: 35.44 kB / 1.219 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.9002, allocations: 4 kB / 1.219 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of Templates: time 0.01666/0.9169, allocations: 8.012 MB / 1.227 GB, free: 13.96 MB / 0.9825 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 -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/jenkins/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