Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006215/0.006215, allocations: 102.5 kB / 15.73 MB, free: 6.004 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.001241/0.001241, allocations: 191.9 kB / 16.67 MB, free: 5.926 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.591/2.591, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 68.08 kB / 1.065 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8532/0.8545, allocations: 159.1 MB / 1.221 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1936/1.048, allocations: 176.5 MB / 1.393 GB, free: 0.9609 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009565/1.058, allocations: 8.733 MB / 1.401 GB, free: 8.207 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006337/1.058, allocations: 19.88 kB / 1.401 GB, free: 8.188 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007474/1.059, allocations: 305.7 kB / 1.402 GB, free: 7.887 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0007463/1.06, allocations: 322.4 kB / 1.402 GB, free: 7.57 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009459/1.061, allocations: 379.2 kB / 1.402 GB, free: 7.203 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001148/1.062, allocations: 1.152 MB / 1.404 GB, free: 6.043 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006754/1.062, allocations: 0.4906 MB / 1.404 GB, free: 5.547 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004215/1.067, allocations: 2.133 MB / 1.406 GB, free: 3.406 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/1.067, allocations: 342.5 kB / 1.406 GB, free: 3.07 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/1.067, allocations: 40 kB / 1.406 GB, free: 3.031 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/1.067, allocations: 79.89 kB / 1.407 GB, free: 2.953 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002329/1.068, allocations: 271.3 kB / 1.407 GB, free: 2.688 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002327/1.068, allocations: 282.5 kB / 1.407 GB, free: 2.41 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0006522/1.068, allocations: 0.6424 MB / 1.408 GB, free: 1.77 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.068, allocations: 4 kB / 1.408 GB, free: 1.766 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.693e-06/1.068, allocations: 0 / 1.408 GB, free: 1.766 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.999e-06/1.068, allocations: 0 / 1.408 GB, free: 1.766 MB / 1.123 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.001017/1.069, allocations: 0.8335 MB / 1.409 GB, free: 0.8789 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/1.07, allocations: 11.97 kB / 1.409 GB, free: 0.8672 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/1.07, allocations: 71.52 kB / 1.409 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006341/1.07, allocations: 450.4 kB / 1.409 GB, free: 324 kB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/1.07, allocations: 37.31 kB / 1.409 GB, free: 288 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.035e-05/1.07, allocations: 55.98 kB / 1.409 GB, free: 232 kB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000984/1.071, allocations: 0.6989 MB / 1.41 GB, free: 15.45 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/1.071, allocations: 7.938 kB / 1.41 GB, free: 15.44 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/1.071, allocations: 27.92 kB / 1.41 GB, free: 15.41 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/1.071, allocations: 35.92 kB / 1.41 GB, free: 15.38 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005944/1.072, allocations: 379.4 kB / 1.41 GB, free: 15 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/1.075, allocations: 3.213 MB / 1.413 GB, free: 11.65 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/1.075, allocations: 222.1 kB / 1.414 GB, free: 11.34 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/1.075, allocations: 124.5 kB / 1.414 GB, free: 11.19 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/1.075, allocations: 8 kB / 1.414 GB, free: 11.18 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/1.075, allocations: 42.83 kB / 1.414 GB, free: 11.13 MB / 1.139 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/1.075, allocations: 4 kB / 1.414 GB, free: 11.12 MB / 1.139 GB Notification: Performance of matching and sorting (n=10): time 0.0006555/1.076, allocations: 254 kB / 1.414 GB, free: 10.87 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/1.076, allocations: 298.7 kB / 1.414 GB, free: 10.51 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007048/1.076, allocations: 0.6839 MB / 1.415 GB, free: 9.82 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/1.077, allocations: 25.7 kB / 1.415 GB, free: 9.789 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/1.077, allocations: 272.2 kB / 1.415 GB, free: 9.52 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/1.077, allocations: 35.72 kB / 1.415 GB, free: 9.484 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/1.077, allocations: 33.66 kB / 1.415 GB, free: 9.445 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.077, allocations: 366.8 kB / 1.416 GB, free: 9.078 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/1.077, allocations: 47.89 kB / 1.416 GB, free: 9.031 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/1.077, allocations: 89.11 kB / 1.416 GB, free: 8.926 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/1.077, allocations: 129 kB / 1.416 GB, free: 8.781 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.077, allocations: 0 / 1.416 GB, free: 8.781 MB / 1.139 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003347/1.078, allocations: 193.3 kB / 1.416 GB, free: 8.586 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.078, allocations: 6.031 kB / 1.416 GB, free: 8.582 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/1.078, allocations: 7.938 kB / 1.416 GB, free: 8.574 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.078, allocations: 0 / 1.416 GB, free: 8.574 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/1.078, allocations: 43.89 kB / 1.416 GB, free: 8.531 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.078, allocations: 4 kB / 1.416 GB, free: 8.527 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/1.078, allocations: 59.5 kB / 1.416 GB, free: 8.469 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/1.078, allocations: 8.031 kB / 1.416 GB, free: 8.461 MB / 1.139 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.0002013/1.078, allocations: 206 kB / 1.416 GB, free: 8.25 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/1.079, allocations: 59.62 kB / 1.416 GB, free: 8.191 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.139e-05/1.079, allocations: 64.2 kB / 1.417 GB, free: 8.125 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/1.079, allocations: 7.984 kB / 1.417 GB, free: 8.117 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/1.079, allocations: 4 kB / 1.417 GB, free: 8.113 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.079, allocations: 0 / 1.417 GB, free: 8.113 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/1.08, allocations: 1.304 MB / 1.418 GB, free: 6.719 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.08, allocations: 288 / 1.418 GB, free: 6.719 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/1.08, allocations: 47.89 kB / 1.418 GB, free: 6.672 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/1.08, allocations: 4 kB / 1.418 GB, free: 6.668 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/1.08, allocations: 8 kB / 1.418 GB, free: 6.66 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/1.08, allocations: 4 kB / 1.418 GB, free: 6.656 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.08, allocations: 0 / 1.418 GB, free: 6.656 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/1.081, allocations: 338.7 kB / 1.418 GB, free: 6.281 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/1.081, allocations: 152.7 kB / 1.418 GB, free: 6.113 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/1.081, allocations: 8.062 kB / 1.418 GB, free: 6.105 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/1.081, allocations: 11.94 kB / 1.418 GB, free: 6.094 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/1.081, allocations: 19.86 kB / 1.418 GB, free: 6.074 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/1.081, allocations: 4 kB / 1.418 GB, free: 6.07 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0005165/1.082, allocations: 0.4951 MB / 1.419 GB, free: 5.578 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/1.082, allocations: 4 kB / 1.419 GB, free: 5.574 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003646/1.082, allocations: 87.88 kB / 1.419 GB, free: 5.488 MB / 1.139 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.0003004/1.082, allocations: 132.7 kB / 1.419 GB, free: 5.352 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002885/1.083, allocations: 111.8 kB / 1.419 GB, free: 5.242 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.083, allocations: 0 / 1.419 GB, free: 5.242 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/1.083, allocations: 52 kB / 1.419 GB, free: 5.191 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/1.084, allocations: 279.4 kB / 1.42 GB, free: 4.922 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/1.085, allocations: 0.8949 MB / 1.42 GB, free: 3.969 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/1.086, allocations: 0.9089 MB / 1.421 GB, free: 3.035 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002043/1.086, allocations: 100.6 kB / 1.421 GB, free: 2.938 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/1.086, allocations: 35.44 kB / 1.421 GB, free: 2.902 MB / 1.139 GB Notification: Performance of SimCode: time 3.91e-07/1.086, allocations: 0 / 1.421 GB, free: 2.902 MB / 1.139 GB Notification: Performance of Templates: time 0.01386/1.1, allocations: 8.498 MB / 1.43 GB, free: 10.53 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches