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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001193/0.001193, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009093/0.009093, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.56/1.56, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.079/3.079, allocations: 483.2 MB / 0.7564 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003699, allocations: 10.03 kB / 0.9276 GB, free: 29.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3679, allocations: 164.5 MB / 1.088 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.8401/1.208, allocations: 171.5 MB / 1.256 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01186/1.22, allocations: 8.59 MB / 1.264 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00079/1.221, allocations: 17.78 kB / 1.264 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007094/1.222, allocations: 236.8 kB / 1.264 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008574/1.222, allocations: 284.2 kB / 1.265 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/1.223, allocations: 330.2 kB / 1.265 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00189/1.225, allocations: 1.556 MB / 1.266 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007636/1.226, allocations: 496.5 kB / 1.267 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004985/1.231, allocations: 1.907 MB / 1.269 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000558/1.232, allocations: 340.3 kB / 1.269 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.699e-05/1.232, allocations: 20.78 kB / 1.269 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/1.232, allocations: 55.23 kB / 1.269 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003208/1.232, allocations: 234.7 kB / 1.269 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006675/1.233, allocations: 281 kB / 1.27 GB, free: 23.11 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007506/1.234, allocations: 0.5899 MB / 1.27 GB, free: 23.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/1.234, allocations: 0 / 1.27 GB, free: 23.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.753e-06/1.234, allocations: 2.719 kB / 1.27 GB, free: 23.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.011e-05/1.234, allocations: 0 / 1.27 GB, free: 23.07 MB / 1.014 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.001036/1.235, allocations: 0.7116 MB / 1.271 GB, free: 22.55 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/1.235, allocations: 9.688 kB / 1.271 GB, free: 22.55 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/1.235, allocations: 69.16 kB / 1.271 GB, free: 22.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/1.236, allocations: 417.2 kB / 1.271 GB, free: 22.26 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/1.236, allocations: 38.75 kB / 1.271 GB, free: 22.26 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.734e-05/1.236, allocations: 54.72 kB / 1.272 GB, free: 22.26 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/1.237, allocations: 0.7076 MB / 1.272 GB, free: 22.01 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/1.237, allocations: 3.562 kB / 1.272 GB, free: 22.01 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/1.237, allocations: 29.28 kB / 1.272 GB, free: 22 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/1.237, allocations: 27.58 kB / 1.272 GB, free: 22 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006274/1.237, allocations: 384.7 kB / 1.273 GB, free: 22 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/1.24, allocations: 3.239 MB / 1.276 GB, free: 19.58 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/1.24, allocations: 227.8 kB / 1.276 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/1.241, allocations: 135.4 kB / 1.276 GB, free: 19.26 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/1.241, allocations: 6.312 kB / 1.276 GB, free: 19.26 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/1.241, allocations: 46.89 kB / 1.276 GB, free: 19.21 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/1.241, allocations: 0 / 1.276 GB, free: 19.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0007232/1.241, allocations: 261.5 kB / 1.276 GB, free: 19.15 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001761/1.242, allocations: 295.2 kB / 1.277 GB, free: 18.81 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007368/1.242, allocations: 0.6854 MB / 1.277 GB, free: 18.68 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/1.242, allocations: 30.8 kB / 1.277 GB, free: 18.64 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/1.242, allocations: 268.6 kB / 1.278 GB, free: 18.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/1.243, allocations: 33.89 kB / 1.278 GB, free: 18.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/1.243, allocations: 17.88 kB / 1.278 GB, free: 18.51 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002181/1.243, allocations: 370.6 kB / 1.278 GB, free: 18.19 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/1.243, allocations: 42.27 kB / 1.278 GB, free: 18.19 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/1.243, allocations: 103.6 kB / 1.278 GB, free: 18.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/1.243, allocations: 145.3 kB / 1.278 GB, free: 18.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.243, allocations: 0 / 1.278 GB, free: 18.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003598/1.244, allocations: 192.4 kB / 1.279 GB, free: 18.03 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/1.244, allocations: 5.578 kB / 1.279 GB, free: 18.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.244, allocations: 1.25 kB / 1.279 GB, free: 18.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.244, allocations: 2 kB / 1.279 GB, free: 18.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/1.244, allocations: 59.17 kB / 1.279 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.244, allocations: 6.469 kB / 1.279 GB, free: 18.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/1.244, allocations: 66.59 kB / 1.279 GB, free: 17.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/1.244, allocations: 10.52 kB / 1.279 GB, free: 17.98 MB / 1.014 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.0002112/1.245, allocations: 202 kB / 1.279 GB, free: 17.87 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/1.245, allocations: 60 kB / 1.279 GB, free: 17.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.85e-05/1.245, allocations: 57.62 kB / 1.279 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.245, allocations: 4.344 kB / 1.279 GB, free: 17.83 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/1.245, allocations: 6.25 kB / 1.279 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.245, allocations: 3.578 kB / 1.279 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/1.246, allocations: 1.304 MB / 1.28 GB, free: 16.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/1.246, allocations: 8.062 kB / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/1.247, allocations: 53.2 kB / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.247, allocations: 2.062 kB / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/1.247, allocations: 2.031 kB / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/1.247, allocations: 3.641 kB / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.247, allocations: 8.328 kB / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/1.247, allocations: 354.7 kB / 1.281 GB, free: 16.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/1.247, allocations: 143.9 kB / 1.281 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/1.247, allocations: 9.469 kB / 1.281 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/1.247, allocations: 24.64 kB / 1.281 GB, free: 16.47 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/1.247, allocations: 16.64 kB / 1.281 GB, free: 16.47 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/1.247, allocations: 4.781 kB / 1.281 GB, free: 16.47 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005502/1.248, allocations: 0.4942 MB / 1.281 GB, free: 16.38 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.248, allocations: 7.938 kB / 1.281 GB, free: 16.37 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003906/1.248, allocations: 87.45 kB / 1.281 GB, free: 16.36 MB / 1.014 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.0003299/1.249, allocations: 139.7 kB / 1.282 GB, free: 16.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003167/1.249, allocations: 113.4 kB / 1.282 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.249, allocations: 3.531 kB / 1.282 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/1.249, allocations: 63.2 kB / 1.282 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/1.251, allocations: 268.7 kB / 1.282 GB, free: 16.24 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/1.252, allocations: 1.029 MB / 1.283 GB, free: 15.65 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/1.253, allocations: 0.8987 MB / 1.284 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002516/1.253, allocations: 108.8 kB / 1.284 GB, free: 14.94 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/1.253, allocations: 37 kB / 1.284 GB, free: 14.93 MB / 1.014 GB Notification: Performance of SimCode: time 2.4e-07/1.253, allocations: 0 / 1.284 GB, free: 14.93 MB / 1.014 GB Notification: Performance of Templates: time 0.01756/1.27, allocations: 8.008 MB / 1.292 GB, free: 14.48 MB / 1.014 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=400 -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/jenkins/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