Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001335/0.001335, allocations: 114.4 kB / 16.37 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.001115/0.001115, allocations: 195.9 kB / 17.31 MB, free: 5.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.377/1.377, 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 9.1.2-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 65.91 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2552, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6953/0.9505, allocations: 176 MB / 1.123 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.9626, allocations: 8.72 MB / 1.131 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.964, allocations: 20.44 kB / 1.132 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.965, allocations: 302.4 kB / 1.132 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.9662, allocations: 305.5 kB / 1.132 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.9674, allocations: 377.3 kB / 1.132 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.9691, allocations: 1.152 MB / 1.134 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009312/0.97, allocations: 0.5926 MB / 1.134 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005802/0.9758, allocations: 2.059 MB / 1.136 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000655/0.9765, allocations: 351 kB / 1.136 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.304e-05/0.9766, allocations: 40.12 kB / 1.137 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.9769, allocations: 80.03 kB / 1.137 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000318/0.9772, allocations: 263.9 kB / 1.137 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004129/0.9777, allocations: 289.7 kB / 1.137 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008495/0.9785, allocations: 0.6288 MB / 1.138 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.9785, allocations: 5.312 kB / 1.138 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9785, allocations: 0 / 1.138 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.9786, allocations: 0 / 1.138 GB, free: 4.977 MB / 0.8575 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.001417/0.98, allocations: 0.8192 MB / 1.139 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.98, allocations: 9.375 kB / 1.139 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.9802, allocations: 69.19 kB / 1.139 GB, free: 20.41 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006819/0.9809, allocations: 443.2 kB / 1.139 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.9809, allocations: 41.88 kB / 1.139 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.981, allocations: 55.59 kB / 1.139 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000997/0.982, allocations: 0.7014 MB / 1.14 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/0.982, allocations: 6.312 kB / 1.14 GB, free: 19.87 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.609e-05/0.9821, allocations: 26.5 kB / 1.14 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.749e-05/0.9821, allocations: 34.7 kB / 1.14 GB, free: 19.86 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006178/0.9828, allocations: 377.1 kB / 1.14 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.9855, allocations: 3.203 MB / 1.143 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.9857, allocations: 218 kB / 1.144 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.9859, allocations: 130.6 kB / 1.144 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.9859, allocations: 7.531 kB / 1.144 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.9859, allocations: 46.53 kB / 1.144 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.9859, allocations: 1 kB / 1.144 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006602/0.9866, allocations: 251.7 kB / 1.144 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/0.9868, allocations: 301.5 kB / 1.144 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007282/0.9875, allocations: 0.6852 MB / 1.145 GB, free: 16.44 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.9875, allocations: 27.39 kB / 1.145 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.9877, allocations: 271.1 kB / 1.145 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.9878, allocations: 29.78 kB / 1.145 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.9878, allocations: 32.03 kB / 1.145 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.988, allocations: 366.6 kB / 1.146 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.9881, allocations: 41.88 kB / 1.146 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.9883, allocations: 103.1 kB / 1.146 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.9885, allocations: 125.4 kB / 1.146 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.9885, allocations: 0 / 1.146 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003196/0.9888, allocations: 197.6 kB / 1.146 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.9889, allocations: 4.844 kB / 1.146 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.9889, allocations: 1.094 kB / 1.146 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.9889, allocations: 6.531 kB / 1.146 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.9891, allocations: 41.67 kB / 1.146 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.9891, allocations: 1.625 kB / 1.146 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.9893, allocations: 54.69 kB / 1.146 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.9894, allocations: 10.36 kB / 1.146 GB, free: 15.73 MB / 0.8731 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.0002053/0.9896, allocations: 201.5 kB / 1.146 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.9898, allocations: 60.09 kB / 1.146 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.644e-05/0.9899, allocations: 63.03 kB / 1.147 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.9899, allocations: 3.375 kB / 1.147 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.9899, allocations: 5.578 kB / 1.147 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.9899, allocations: 3.031 kB / 1.147 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.9913, allocations: 1.3 MB / 1.148 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.9913, allocations: 2.406 kB / 1.148 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.9915, allocations: 46.75 kB / 1.148 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.9915, allocations: 6.453 kB / 1.148 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.9916, allocations: 6.469 kB / 1.148 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.9916, allocations: 3.625 kB / 1.148 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.9916, allocations: 2.281 kB / 1.148 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003952/0.992, allocations: 336.8 kB / 1.148 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.9922, allocations: 147.7 kB / 1.148 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/0.9922, allocations: 6.484 kB / 1.148 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.9924, allocations: 11.31 kB / 1.148 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.9925, allocations: 20.97 kB / 1.148 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.9925, allocations: 7.812 kB / 1.148 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005289/0.993, allocations: 0.4931 MB / 1.149 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.993, allocations: 4 kB / 1.149 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004225/0.9935, allocations: 82.72 kB / 1.149 GB, free: 14.09 MB / 0.8731 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.0003281/0.9938, allocations: 151.7 kB / 1.149 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.9941, allocations: 110.3 kB / 1.149 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9941, allocations: 1.094 kB / 1.149 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.9943, allocations: 56.88 kB / 1.149 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.9954, allocations: 277.2 kB / 1.15 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.9965, allocations: 0.8722 MB / 1.15 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.997, allocations: 0.9083 MB / 1.151 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002273/0.9972, allocations: 107.8 kB / 1.151 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.9973, allocations: 34.84 kB / 1.151 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.9973, allocations: 1.406 kB / 1.151 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of Templates: time 0.01784/1.015, allocations: 8.396 MB / 1.16 GB, free: 12.27 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches