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.00133/0.00133, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001335/0.001335, allocations: 194.3 kB / 16.25 MB, free: 6.633 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.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 469.8 MB / 0.742 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 69.64 kB / 0.908 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3364, allocations: 159.2 MB / 1.063 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2163/0.5528, allocations: 173.7 MB / 1.233 GB, free: 324 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.5637, allocations: 8.624 MB / 1.241 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007615/0.5645, allocations: 19.88 kB / 1.241 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008057/0.5653, allocations: 254.4 kB / 1.242 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007753/0.5661, allocations: 282.7 kB / 1.242 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.5672, allocations: 334.9 kB / 1.242 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.5686, allocations: 1.156 MB / 1.243 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008227/0.5694, allocations: 0.5607 MB / 1.244 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004759/0.5742, allocations: 1.993 MB / 1.246 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006093/0.5748, allocations: 370.4 kB / 1.246 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.961e-05/0.5749, allocations: 40 kB / 1.246 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.5751, allocations: 87.89 kB / 1.246 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.5754, allocations: 263.3 kB / 1.247 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.5758, allocations: 282.5 kB / 1.247 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007404/0.5765, allocations: 0.6112 MB / 1.248 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.5765, allocations: 0 / 1.248 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of FrontEnd: time 6.011e-06/0.5765, allocations: 7.984 kB / 1.248 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.5765, allocations: 0 / 1.248 GB, free: 1.438 MB / 0.9981 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.001114/0.5777, allocations: 0.8185 MB / 1.248 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5777, allocations: 8.031 kB / 1.248 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.5778, allocations: 71.17 kB / 1.248 GB, free: 500 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005616/0.5784, allocations: 418.1 kB / 1.249 GB, free: 40 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.5578/1.136, allocations: 43.03 kB / 1.249 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/1.136, allocations: 50.5 kB / 1.249 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/1.138, allocations: 0.694 MB / 1.25 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/1.138, allocations: 4.062 kB / 1.25 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/1.138, allocations: 24.38 kB / 1.25 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.394e-05/1.138, allocations: 34.06 kB / 1.25 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007069/1.139, allocations: 376.2 kB / 1.25 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002672/1.141, allocations: 3.223 MB / 1.253 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/1.141, allocations: 224.4 kB / 1.253 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/1.142, allocations: 129.9 kB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/1.142, allocations: 9.781 kB / 1.253 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/1.142, allocations: 40.11 kB / 1.254 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.993e-06/1.142, allocations: 0 / 1.254 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0007318/1.142, allocations: 253.8 kB / 1.254 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/1.143, allocations: 291 kB / 1.254 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008397/1.143, allocations: 0.6899 MB / 1.255 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/1.143, allocations: 27.48 kB / 1.255 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/1.144, allocations: 266.9 kB / 1.255 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/1.144, allocations: 31.8 kB / 1.255 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/1.144, allocations: 32.42 kB / 1.255 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001026/1.144, allocations: 369.8 kB / 1.255 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/1.144, allocations: 41.36 kB / 1.255 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/1.144, allocations: 97 kB / 1.256 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/1.144, allocations: 128.2 kB / 1.256 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.144, allocations: 0.9688 kB / 1.256 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003734/1.145, allocations: 190.7 kB / 1.256 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/1.145, allocations: 6.125 kB / 1.256 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/1.145, allocations: 3.469 kB / 1.256 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.145, allocations: 2.75 kB / 1.256 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/1.145, allocations: 41.69 kB / 1.256 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/1.145, allocations: 5.312 kB / 1.256 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/1.145, allocations: 62.72 kB / 1.256 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/1.145, allocations: 6 kB / 1.256 GB, free: 187.1 MB / 0.9981 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.0002563/1.146, allocations: 205.7 kB / 1.256 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/1.146, allocations: 60.41 kB / 1.256 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/1.146, allocations: 66.39 kB / 1.256 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/1.146, allocations: 3.156 kB / 1.256 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/1.146, allocations: 5 kB / 1.256 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/1.146, allocations: 6.406 kB / 1.256 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/1.148, allocations: 1.312 MB / 1.258 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.148, allocations: 2.344 kB / 1.258 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/1.148, allocations: 41.23 kB / 1.258 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/1.148, allocations: 2.594 kB / 1.258 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/1.148, allocations: 3.625 kB / 1.258 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.968e-06/1.148, allocations: 9.375 kB / 1.258 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.148, allocations: 3 kB / 1.258 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004581/1.149, allocations: 331.8 kB / 1.258 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/1.149, allocations: 152.6 kB / 1.258 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/1.149, allocations: 7.656 kB / 1.258 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/1.149, allocations: 13.83 kB / 1.258 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/1.149, allocations: 16.45 kB / 1.258 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/1.149, allocations: 10.12 kB / 1.258 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000623/1.15, allocations: 0.496 MB / 1.259 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.15, allocations: 0 / 1.259 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004303/1.15, allocations: 85.47 kB / 1.259 GB, free: 185.5 MB / 0.9981 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.0004004/1.151, allocations: 138.4 kB / 1.259 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003258/1.151, allocations: 112.9 kB / 1.259 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.151, allocations: 0 / 1.259 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/1.151, allocations: 57.95 kB / 1.259 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/1.152, allocations: 284.5 kB / 1.259 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/1.154, allocations: 1.008 MB / 1.26 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/1.154, allocations: 0.9107 MB / 1.261 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002605/1.154, allocations: 105.8 kB / 1.261 GB, free: 184 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/1.154, allocations: 33.75 kB / 1.261 GB, free: 184 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/1.154, allocations: 0 / 1.261 GB, free: 184 MB / 0.9981 GB Notification: Performance of Templates: time 0.01817/1.173, allocations: 8.319 MB / 1.269 GB, free: 183.6 MB / 0.9981 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=400 -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