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.001496/0.001496, allocations: 108.8 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.001625/0.001625, allocations: 193.5 kB / 17.29 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.17 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.538/2.538, allocations: 437.1 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 65.31 kB / 0.8707 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3264, allocations: 151.6 MB / 1.019 GB, free: 9.914 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.7401/1.067, allocations: 176 MB / 1.191 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009339/1.076, allocations: 8.718 MB / 1.199 GB, free: 9.574 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006482/1.077, allocations: 21.84 kB / 1.199 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007215/1.077, allocations: 299.5 kB / 1.199 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007058/1.078, allocations: 306 kB / 1.2 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/1.079, allocations: 375.6 kB / 1.2 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001145/1.08, allocations: 1.156 MB / 1.201 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007715/1.081, allocations: 0.5794 MB / 1.202 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00422/1.085, allocations: 2.064 MB / 1.204 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/1.086, allocations: 358.6 kB / 1.204 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.624e-05/1.086, allocations: 37.75 kB / 1.204 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/1.086, allocations: 82.7 kB / 1.204 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002149/1.086, allocations: 255 kB / 1.205 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002588/1.086, allocations: 280.3 kB / 1.205 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005977/1.087, allocations: 0.6344 MB / 1.205 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/1.087, allocations: 4 kB / 1.205 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.473e-06/1.087, allocations: 0 / 1.205 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.128e-06/1.087, allocations: 0 / 1.205 GB, free: 5.383 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.0009709/1.088, allocations: 0.8239 MB / 1.206 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/1.088, allocations: 11.55 kB / 1.206 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.673e-05/1.088, allocations: 67.66 kB / 1.206 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007012/1.089, allocations: 443.9 kB / 1.207 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/1.089, allocations: 40.69 kB / 1.207 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.216e-05/1.089, allocations: 62.06 kB / 1.207 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009688/1.09, allocations: 0.701 MB / 1.207 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/1.09, allocations: 0 / 1.207 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/1.09, allocations: 27.45 kB / 1.208 GB, free: 3.688 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.831e-05/1.09, allocations: 34.11 kB / 1.208 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/1.091, allocations: 367.3 kB / 1.208 GB, free: 3.504 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/1.093, allocations: 3.215 MB / 1.211 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/1.094, allocations: 222.3 kB / 1.211 GB, free: 260 kB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/1.094, allocations: 123.2 kB / 1.211 GB, free: 148 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/1.094, allocations: 14.62 kB / 1.211 GB, free: 136 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/1.094, allocations: 36.97 kB / 1.211 GB, free: 92 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/1.094, allocations: 0 / 1.211 GB, free: 92 kB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006749/1.095, allocations: 254.6 kB / 1.212 GB, free: 15.94 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/1.095, allocations: 297.6 kB / 1.212 GB, free: 15.59 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006975/1.095, allocations: 0.6872 MB / 1.213 GB, free: 15.2 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/1.095, allocations: 27.48 kB / 1.213 GB, free: 15.17 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/1.096, allocations: 265.7 kB / 1.213 GB, free: 14.94 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/1.096, allocations: 35.94 kB / 1.213 GB, free: 14.91 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/1.096, allocations: 27.81 kB / 1.213 GB, free: 14.89 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.096, allocations: 370.5 kB / 1.213 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/1.096, allocations: 43.44 kB / 1.213 GB, free: 14.51 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/1.096, allocations: 95.09 kB / 1.213 GB, free: 14.43 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002314/1.097, allocations: 131.3 kB / 1.214 GB, free: 14.34 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.097, allocations: 0 / 1.214 GB, free: 14.34 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003405/1.097, allocations: 189.9 kB / 1.214 GB, free: 14.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.097, allocations: 5.75 kB / 1.214 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/1.097, allocations: 0 / 1.214 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/1.097, allocations: 6.031 kB / 1.214 GB, free: 14.22 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/1.097, allocations: 43.89 kB / 1.214 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/1.097, allocations: 2.156 kB / 1.214 GB, free: 14.21 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/1.097, allocations: 53.7 kB / 1.214 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/1.097, allocations: 5.25 kB / 1.214 GB, free: 14.17 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.0002024/1.098, allocations: 207.1 kB / 1.214 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/1.098, allocations: 62.89 kB / 1.214 GB, free: 13.97 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.068e-05/1.098, allocations: 56.8 kB / 1.214 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/1.098, allocations: 9.688 kB / 1.214 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.098, allocations: 2.094 kB / 1.214 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.098, allocations: 2.875 kB / 1.214 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/1.099, allocations: 1.304 MB / 1.215 GB, free: 12.71 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.099, allocations: 3.141 kB / 1.215 GB, free: 12.71 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/1.1, allocations: 47.31 kB / 1.216 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/1.1, allocations: 9.109 kB / 1.216 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/1.1, allocations: 2.75 kB / 1.216 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.1, allocations: 2.094 kB / 1.216 GB, free: 12.69 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.1, allocations: 6.156 kB / 1.216 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004063/1.1, allocations: 336.1 kB / 1.216 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/1.1, allocations: 147.2 kB / 1.216 GB, free: 12.25 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/1.1, allocations: 6.75 kB / 1.216 GB, free: 12.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/1.1, allocations: 10.77 kB / 1.216 GB, free: 12.25 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/1.101, allocations: 21.53 kB / 1.216 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/1.101, allocations: 8.875 kB / 1.216 GB, free: 12.23 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005865/1.101, allocations: 0.4895 MB / 1.217 GB, free: 11.95 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.9e-07/1.101, allocations: 4 kB / 1.217 GB, free: 11.95 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003974/1.102, allocations: 89.12 kB / 1.217 GB, free: 11.93 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.0003652/1.102, allocations: 138.2 kB / 1.217 GB, free: 11.83 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003056/1.102, allocations: 106 kB / 1.217 GB, free: 11.79 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.102, allocations: 2.719 kB / 1.217 GB, free: 11.79 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/1.102, allocations: 63.3 kB / 1.217 GB, free: 11.75 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/1.104, allocations: 286.3 kB / 1.217 GB, free: 11.6 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/1.105, allocations: 0.8717 MB / 1.218 GB, free: 11.02 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/1.105, allocations: 0.9055 MB / 1.219 GB, free: 10.21 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002191/1.106, allocations: 103.9 kB / 1.219 GB, free: 10.17 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/1.106, allocations: 35 kB / 1.219 GB, free: 10.17 MB / 0.92 GB Notification: Performance of SimCode: time 5.31e-07/1.106, allocations: 0 / 1.219 GB, free: 10.17 MB / 0.92 GB Notification: Performance of Templates: time 0.0148/1.12, allocations: 8.41 MB / 1.227 GB, free: 2.84 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 cvode -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