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.001415/0.001421, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001553/0.001553, allocations: 190.1 kB / 16.14 MB, free: 6.637 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.519/1.519, allocations: 222.9 MB / 239.8 MB, free: 4.574 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.855/2.855, allocations: 437 MB / 0.71 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002023, allocations: 75.88 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7356/0.7376, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.205/0.9426, allocations: 173.7 MB / 1.186 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.9542, allocations: 8.702 MB / 1.195 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006472/0.9549, allocations: 23.81 kB / 1.195 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007576/0.9557, allocations: 238.4 kB / 1.195 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0007997/0.9565, allocations: 302.6 kB / 1.195 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009707/0.9575, allocations: 332.8 kB / 1.196 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00174/0.9592, allocations: 1.62 MB / 1.197 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008067/0.9601, allocations: 0.5007 MB / 1.198 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004728/0.9648, allocations: 1.934 MB / 1.2 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005409/0.9654, allocations: 378.3 kB / 1.2 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.614e-05/0.9654, allocations: 28 kB / 1.2 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.9657, allocations: 59.97 kB / 1.2 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002896/0.966, allocations: 243.4 kB / 1.2 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.9663, allocations: 274.4 kB / 1.201 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007009/0.967, allocations: 0.6034 MB / 1.201 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.967, allocations: 0 / 1.201 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.41e-07/0.967, allocations: 0 / 1.201 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.9671, allocations: 0 / 1.201 GB, free: 5.137 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.001226/0.9683, allocations: 0.8246 MB / 1.202 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.9683, allocations: 8.031 kB / 1.202 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.9685, allocations: 67.19 kB / 1.202 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.9691, allocations: 418.1 kB / 1.202 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.9691, allocations: 41.31 kB / 1.202 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.9692, allocations: 55.98 kB / 1.203 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.9704, allocations: 0.6988 MB / 1.203 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.9704, allocations: 3.938 kB / 1.203 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/0.9705, allocations: 24 kB / 1.203 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.743e-05/0.9705, allocations: 31.92 kB / 1.203 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.9713, allocations: 379.3 kB / 1.204 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.9744, allocations: 3.219 MB / 1.207 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.9747, allocations: 222.5 kB / 1.207 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.975, allocations: 128.6 kB / 1.207 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.975, allocations: 4 kB / 1.207 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.961e-05/0.975, allocations: 50.42 kB / 1.207 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.973e-06/0.9751, allocations: 0 / 1.207 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0007758/0.9758, allocations: 256.5 kB / 1.207 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002067/0.9761, allocations: 292 kB / 1.208 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008415/0.9769, allocations: 0.6916 MB / 1.208 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.9769, allocations: 25.7 kB / 1.208 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.9772, allocations: 268.2 kB / 1.209 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.9772, allocations: 31.56 kB / 1.209 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.9773, allocations: 29.7 kB / 1.209 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.9775, allocations: 366.8 kB / 1.209 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.9776, allocations: 35.97 kB / 1.209 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.9778, allocations: 105 kB / 1.209 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.9781, allocations: 125.1 kB / 1.209 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9781, allocations: 0 / 1.209 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003741/0.9785, allocations: 196.9 kB / 1.209 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.9785, allocations: 10.5 kB / 1.209 GB, free: 12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.9785, allocations: 7.875 kB / 1.209 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.9785, allocations: 4 kB / 1.209 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.9788, allocations: 35.95 kB / 1.21 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.9788, allocations: 4 kB / 1.21 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.979, allocations: 63.39 kB / 1.21 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.9791, allocations: 8 kB / 1.21 GB, free: 11.88 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.0002427/0.9793, allocations: 205.7 kB / 1.21 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.9795, allocations: 59.25 kB / 1.21 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.064e-05/0.9796, allocations: 60.27 kB / 1.21 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.9797, allocations: 4 kB / 1.21 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9797, allocations: 4 kB / 1.21 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.9797, allocations: 3.984 kB / 1.21 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001602/0.9813, allocations: 1.301 MB / 1.211 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.9813, allocations: 8.062 kB / 1.211 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.9815, allocations: 43.89 kB / 1.211 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.9815, allocations: 0 / 1.211 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.9816, allocations: 8 kB / 1.211 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.9816, allocations: 4 kB / 1.211 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.9816, allocations: 4 kB / 1.211 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.982, allocations: 330.4 kB / 1.212 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.9822, allocations: 164.2 kB / 1.212 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.75e-05/0.9823, allocations: 7.984 kB / 1.212 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.9825, allocations: 15.98 kB / 1.212 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.9825, allocations: 19.92 kB / 1.212 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.9825, allocations: 4 kB / 1.212 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005983/0.9831, allocations: 0.4954 MB / 1.212 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9831, allocations: 0 / 1.212 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003874/0.9835, allocations: 79.91 kB / 1.212 GB, free: 8.91 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.0003392/0.9839, allocations: 140.7 kB / 1.212 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003386/0.9842, allocations: 103.8 kB / 1.213 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.9842, allocations: 0 / 1.213 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.9844, allocations: 60.84 kB / 1.213 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.9858, allocations: 272 kB / 1.213 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.9872, allocations: 1.007 MB / 1.214 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005631/0.9878, allocations: 0.9091 MB / 1.215 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000275/0.9881, allocations: 104.6 kB / 1.215 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.9881, allocations: 35.44 kB / 1.215 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of SimCode: time 4.5e-07/0.9882, allocations: 4 kB / 1.215 GB, free: 6.207 MB / 0.9669 GB Notification: Performance of Templates: time 0.0156/1.004, allocations: 8.037 MB / 1.223 GB, free: 14.29 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=400 -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