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.001505/0.001505, allocations: 102.2 kB / 16.27 MB, free: 6 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.001657/0.001656, allocations: 191 kB / 17.2 MB, free: 5.609 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.298/1.298, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.392/2.392, allocations: 437 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 68.66 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.7262/1.026, allocations: 176 MB / 1.19 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01053/1.037, allocations: 8.71 MB / 1.198 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009185/1.038, allocations: 25.19 kB / 1.198 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008277/1.039, allocations: 297.3 kB / 1.199 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007643/1.039, allocations: 311.7 kB / 1.199 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/1.04, allocations: 368.9 kB / 1.199 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001224/1.042, allocations: 1.153 MB / 1.2 GB, free: 8.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008493/1.043, allocations: 0.5898 MB / 1.201 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005348/1.048, allocations: 2.057 MB / 1.203 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005073/1.048, allocations: 349.8 kB / 1.203 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.692e-05/1.048, allocations: 40.78 kB / 1.203 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002441/1.049, allocations: 76.27 kB / 1.203 GB, free: 6.48 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/1.049, allocations: 260.9 kB / 1.204 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000293/1.049, allocations: 279.5 kB / 1.204 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006619/1.05, allocations: 0.6167 MB / 1.205 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.05, allocations: 0 / 1.205 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.593e-06/1.05, allocations: 4 kB / 1.205 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.343e-05/1.05, allocations: 0 / 1.205 GB, free: 5.727 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.0009989/1.051, allocations: 0.8198 MB / 1.205 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.051, allocations: 11.17 kB / 1.205 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/1.051, allocations: 67.25 kB / 1.205 GB, free: 5 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005315/1.052, allocations: 412.3 kB / 1.206 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/1.052, allocations: 41.5 kB / 1.206 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/1.052, allocations: 61.73 kB / 1.206 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009707/1.053, allocations: 0.6957 MB / 1.207 GB, free: 4.078 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/1.053, allocations: 6.062 kB / 1.207 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/1.053, allocations: 31.92 kB / 1.207 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.296e-05/1.053, allocations: 34.33 kB / 1.207 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005806/1.054, allocations: 372.1 kB / 1.207 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/1.056, allocations: 3.229 MB / 1.21 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/1.056, allocations: 220 kB / 1.21 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/1.056, allocations: 131.4 kB / 1.211 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/1.056, allocations: 2.125 kB / 1.211 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/1.056, allocations: 47.75 kB / 1.211 GB, free: 452 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/1.056, allocations: 0 / 1.211 GB, free: 452 kB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006722/1.057, allocations: 258.9 kB / 1.211 GB, free: 300 kB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000146/1.057, allocations: 292.6 kB / 1.211 GB, free: 15.94 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006956/1.058, allocations: 0.684 MB / 1.212 GB, free: 15.56 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/1.058, allocations: 25.7 kB / 1.212 GB, free: 15.53 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/1.058, allocations: 268.7 kB / 1.212 GB, free: 15.3 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/1.058, allocations: 40.59 kB / 1.212 GB, free: 15.26 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/1.058, allocations: 34.08 kB / 1.212 GB, free: 15.23 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001685/1.059, allocations: 365.4 kB / 1.212 GB, free: 14.88 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/1.059, allocations: 36.39 kB / 1.212 GB, free: 14.87 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/1.059, allocations: 94.7 kB / 1.213 GB, free: 14.79 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/1.059, allocations: 125.6 kB / 1.213 GB, free: 14.7 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.059, allocations: 6 kB / 1.213 GB, free: 14.7 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003262/1.059, allocations: 188 kB / 1.213 GB, free: 14.59 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.059, allocations: 5.188 kB / 1.213 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.059, allocations: 2.562 kB / 1.213 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.059, allocations: 5.719 kB / 1.213 GB, free: 14.58 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/1.06, allocations: 48.52 kB / 1.213 GB, free: 14.56 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/1.06, allocations: 0 / 1.213 GB, free: 14.56 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/1.06, allocations: 56.77 kB / 1.213 GB, free: 14.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/1.06, allocations: 7.781 kB / 1.213 GB, free: 14.52 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.0001921/1.06, allocations: 200.4 kB / 1.213 GB, free: 14.36 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/1.06, allocations: 61.25 kB / 1.213 GB, free: 14.33 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.761e-05/1.06, allocations: 61.27 kB / 1.213 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/1.06, allocations: 6.531 kB / 1.213 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.06, allocations: 6.734 kB / 1.213 GB, free: 14.28 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/1.061, allocations: 6.516 kB / 1.213 GB, free: 14.27 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/1.062, allocations: 1.301 MB / 1.215 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.062, allocations: 6.781 kB / 1.215 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/1.062, allocations: 39.73 kB / 1.215 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.062, allocations: 2.031 kB / 1.215 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/1.062, allocations: 6.625 kB / 1.215 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.062, allocations: 7.031 kB / 1.215 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.062, allocations: 8.75 kB / 1.215 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/1.062, allocations: 336.3 kB / 1.215 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/1.063, allocations: 149.3 kB / 1.215 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/1.063, allocations: 5.25 kB / 1.215 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/1.063, allocations: 2.719 kB / 1.215 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/1.063, allocations: 26.7 kB / 1.215 GB, free: 12.58 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/1.063, allocations: 5.719 kB / 1.215 GB, free: 12.58 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004774/1.063, allocations: 0.4925 MB / 1.216 GB, free: 12.3 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/1.063, allocations: 0 / 1.216 GB, free: 12.3 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003755/1.064, allocations: 83.28 kB / 1.216 GB, free: 12.3 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.0003114/1.064, allocations: 144.5 kB / 1.216 GB, free: 12.19 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003033/1.064, allocations: 109.7 kB / 1.216 GB, free: 12.14 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.064, allocations: 2.281 kB / 1.216 GB, free: 12.14 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/1.065, allocations: 57.62 kB / 1.216 GB, free: 12.11 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/1.066, allocations: 287.4 kB / 1.216 GB, free: 11.96 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/1.067, allocations: 0.9449 MB / 1.217 GB, free: 11.3 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/1.067, allocations: 0.8967 MB / 1.218 GB, free: 10.51 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/1.067, allocations: 41.44 kB / 1.218 GB, free: 10.5 MB / 0.92 GB Notification: Performance of SimCode: time 2.11e-07/1.067, allocations: 0 / 1.218 GB, free: 10.5 MB / 0.92 GB Notification: Performance of Templates: time 0.00997/1.077, allocations: 7.799 MB / 1.226 GB, free: 3.988 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 -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