Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001547/0.001547, allocations: 111.9 kB / 16.42 MB, free: 6.445 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.00179/0.00179, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.519/2.519, allocations: 469.4 MB / 0.7428 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 71.84 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7285/0.7298, allocations: 159.1 MB / 1.221 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1598/0.8896, allocations: 176 MB / 1.393 GB, free: 1.727 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.008898/0.8985, allocations: 8.718 MB / 1.401 GB, free: 8.988 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007477/0.8993, allocations: 19.88 kB / 1.401 GB, free: 8.969 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007944/0.9001, allocations: 297.8 kB / 1.402 GB, free: 8.676 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0008173/0.901, allocations: 322.4 kB / 1.402 GB, free: 8.359 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.9021, allocations: 377.3 kB / 1.402 GB, free: 7.992 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.9032, allocations: 1.156 MB / 1.403 GB, free: 6.828 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007929/0.904, allocations: 0.5862 MB / 1.404 GB, free: 6.238 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004305/0.9083, allocations: 2.137 MB / 1.406 GB, free: 4.094 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.9087, allocations: 342.5 kB / 1.406 GB, free: 3.758 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 6.378e-05/0.9088, allocations: 40 kB / 1.406 GB, free: 3.719 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.909, allocations: 83.89 kB / 1.406 GB, free: 3.637 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.9092, allocations: 263.3 kB / 1.407 GB, free: 3.379 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.9094, allocations: 290.5 kB / 1.407 GB, free: 3.094 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.91, allocations: 0.6227 MB / 1.408 GB, free: 2.469 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.91, allocations: 7.938 kB / 1.408 GB, free: 2.461 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.123e-06/0.91, allocations: 0 / 1.408 GB, free: 2.461 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.9101, allocations: 0 / 1.408 GB, free: 2.461 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.0009309/0.911, allocations: 0.8223 MB / 1.408 GB, free: 1.586 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.911, allocations: 8.625 kB / 1.408 GB, free: 1.578 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.9111, allocations: 67.19 kB / 1.408 GB, free: 1.512 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006505/0.9118, allocations: 446.2 kB / 1.409 GB, free: 1.039 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.9118, allocations: 41.31 kB / 1.409 GB, free: 1 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/0.9119, allocations: 51.98 kB / 1.409 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009288/0.9128, allocations: 0.6988 MB / 1.41 GB, free: 172 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.9129, allocations: 4 kB / 1.41 GB, free: 168 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/0.9129, allocations: 31.92 kB / 1.41 GB, free: 136 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-05/0.913, allocations: 31.86 kB / 1.41 GB, free: 104 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006219/0.9136, allocations: 383.4 kB / 1.41 GB, free: 15.73 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.9159, allocations: 3.207 MB / 1.413 GB, free: 12.38 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.9161, allocations: 222.2 kB / 1.413 GB, free: 12.07 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.9163, allocations: 124.5 kB / 1.414 GB, free: 11.91 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.9163, allocations: 7.938 kB / 1.414 GB, free: 11.91 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.9164, allocations: 50.81 kB / 1.414 GB, free: 11.85 MB / 1.139 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.9164, allocations: 0 / 1.414 GB, free: 11.85 MB / 1.139 GB Notification: Performance of matching and sorting (n=10): time 0.000663/0.917, allocations: 245.8 kB / 1.414 GB, free: 11.6 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.9172, allocations: 294.7 kB / 1.414 GB, free: 11.25 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006823/0.9178, allocations: 0.6838 MB / 1.415 GB, free: 10.55 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.9179, allocations: 29.7 kB / 1.415 GB, free: 10.52 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.9181, allocations: 276 kB / 1.415 GB, free: 10.25 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.9181, allocations: 27.56 kB / 1.415 GB, free: 10.22 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.862e-05/0.9182, allocations: 29.7 kB / 1.415 GB, free: 10.18 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.9183, allocations: 370.8 kB / 1.416 GB, free: 9.812 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.9184, allocations: 39.95 kB / 1.416 GB, free: 9.773 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.9186, allocations: 89.11 kB / 1.416 GB, free: 9.668 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.9188, allocations: 129 kB / 1.416 GB, free: 9.523 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9188, allocations: 0 / 1.416 GB, free: 9.523 MB / 1.139 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003329/0.9192, allocations: 188.8 kB / 1.416 GB, free: 9.332 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.9192, allocations: 7.984 kB / 1.416 GB, free: 9.324 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.9192, allocations: 4 kB / 1.416 GB, free: 9.32 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.9192, allocations: 3.938 kB / 1.416 GB, free: 9.316 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.9195, allocations: 40.09 kB / 1.416 GB, free: 9.277 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.9195, allocations: 4.172 kB / 1.416 GB, free: 9.273 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.9197, allocations: 67.22 kB / 1.416 GB, free: 9.207 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.9197, allocations: 7.984 kB / 1.416 GB, free: 9.199 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.0001856/0.9199, allocations: 205.2 kB / 1.416 GB, free: 8.992 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.9201, allocations: 67.25 kB / 1.416 GB, free: 8.926 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.639e-05/0.9202, allocations: 64.25 kB / 1.416 GB, free: 8.859 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9202, allocations: 0 / 1.416 GB, free: 8.859 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.9202, allocations: 4 kB / 1.416 GB, free: 8.855 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.9204, allocations: 144.4 kB / 1.417 GB, free: 8.695 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.9204, allocations: 8 kB / 1.417 GB, free: 8.688 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/0.9209, allocations: 15.97 kB / 1.417 GB, free: 8.672 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.921, allocations: 11.94 kB / 1.417 GB, free: 8.66 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000615/0.9216, allocations: 0.9281 MB / 1.417 GB, free: 7.719 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005374/0.9221, allocations: 1.023 MB / 1.418 GB, free: 6.672 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001422/0.9223, allocations: 63.89 kB / 1.419 GB, free: 6.609 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004964/0.9228, allocations: 499 kB / 1.419 GB, free: 6.125 MB / 1.139 GB Notification: Performance of Backend: time 3.31e-07/0.9228, allocations: 0 / 1.419 GB, free: 6.125 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.9242, allocations: 175.9 kB / 1.419 GB, free: 5.957 MB / 1.139 GB Notification: Performance of SimCode: time 0.002065/0.9263, allocations: 1.532 MB / 1.421 GB, free: 4.379 MB / 1.139 GB Notification: Performance of Templates: time 0.01325/0.9395, allocations: 8.592 MB / 1.429 GB, free: 11.9 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches