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.001218/0.001218, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.00119/0.00119, allocations: 187 kB / 17.34 MB, free: 5.742 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.89 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7905/0.7917, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1963/0.9881, allocations: 176 MB / 1.38 GB, free: 12.95 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01113/0.9993, allocations: 8.711 MB / 1.389 GB, free: 4.219 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007831/1, allocations: 19.88 kB / 1.389 GB, free: 4.199 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009543/1.001, allocations: 301.8 kB / 1.389 GB, free: 3.902 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001016/1.002, allocations: 306.4 kB / 1.389 GB, free: 3.602 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001194/1.003, allocations: 378.9 kB / 1.39 GB, free: 3.234 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001501/1.005, allocations: 1.148 MB / 1.391 GB, free: 2.078 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009984/1.006, allocations: 0.5901 MB / 1.391 GB, free: 1.484 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00494/1.011, allocations: 2.062 MB / 1.393 GB, free: 15.41 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006399/1.012, allocations: 342.5 kB / 1.394 GB, free: 15.08 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/1.012, allocations: 40 kB / 1.394 GB, free: 15.04 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003057/1.012, allocations: 83.94 kB / 1.394 GB, free: 14.96 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002838/1.012, allocations: 271.3 kB / 1.394 GB, free: 14.69 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000421/1.013, allocations: 282.5 kB / 1.394 GB, free: 14.41 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0008262/1.014, allocations: 0.6306 MB / 1.395 GB, free: 13.78 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.014, allocations: 3.938 kB / 1.395 GB, free: 13.78 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.542e-06/1.014, allocations: 0 / 1.395 GB, free: 13.78 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.646e-05/1.014, allocations: 0 / 1.395 GB, free: 13.78 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.00113/1.015, allocations: 0.8107 MB / 1.396 GB, free: 12.91 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/1.015, allocations: 12.03 kB / 1.396 GB, free: 12.9 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/1.015, allocations: 71.09 kB / 1.396 GB, free: 12.83 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006783/1.016, allocations: 450.1 kB / 1.396 GB, free: 12.36 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/1.016, allocations: 41.3 kB / 1.396 GB, free: 12.32 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.141e-05/1.016, allocations: 52 kB / 1.396 GB, free: 12.27 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/1.017, allocations: 0.6989 MB / 1.397 GB, free: 11.48 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/1.017, allocations: 7.938 kB / 1.397 GB, free: 11.48 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.652e-05/1.017, allocations: 20 kB / 1.397 GB, free: 11.46 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.675e-05/1.017, allocations: 39.86 kB / 1.397 GB, free: 11.42 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006593/1.018, allocations: 379.4 kB / 1.398 GB, free: 11.05 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/1.02, allocations: 3.207 MB / 1.401 GB, free: 7.695 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/1.02, allocations: 218.1 kB / 1.401 GB, free: 7.391 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/1.021, allocations: 132.5 kB / 1.401 GB, free: 7.23 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/1.021, allocations: 4 kB / 1.401 GB, free: 7.227 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/1.021, allocations: 50.48 kB / 1.401 GB, free: 7.168 MB / 1.123 GB Notification: Performance of pre-optimization done (n=10): time 1.884e-06/1.021, allocations: 336 / 1.401 GB, free: 7.168 MB / 1.123 GB Notification: Performance of matching and sorting (n=10): time 0.0007318/1.021, allocations: 253.8 kB / 1.401 GB, free: 6.914 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/1.021, allocations: 286.7 kB / 1.402 GB, free: 6.566 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007441/1.022, allocations: 0.6915 MB / 1.402 GB, free: 5.867 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/1.022, allocations: 29.7 kB / 1.402 GB, free: 5.832 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/1.022, allocations: 268.2 kB / 1.403 GB, free: 5.566 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/1.023, allocations: 31.47 kB / 1.403 GB, free: 5.535 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.773e-05/1.023, allocations: 29.7 kB / 1.403 GB, free: 5.5 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.023, allocations: 374.8 kB / 1.403 GB, free: 5.125 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/1.023, allocations: 39.91 kB / 1.403 GB, free: 5.086 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/1.023, allocations: 89.11 kB / 1.403 GB, free: 4.98 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/1.023, allocations: 129 kB / 1.403 GB, free: 4.836 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.023, allocations: 0 / 1.403 GB, free: 4.836 MB / 1.123 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003552/1.024, allocations: 188.8 kB / 1.403 GB, free: 4.645 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.024, allocations: 7.984 kB / 1.403 GB, free: 4.637 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.024, allocations: 7.938 kB / 1.403 GB, free: 4.629 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.024, allocations: 0 / 1.403 GB, free: 4.629 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/1.024, allocations: 39.91 kB / 1.403 GB, free: 4.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/1.024, allocations: 8.172 kB / 1.403 GB, free: 4.582 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/1.024, allocations: 59.28 kB / 1.404 GB, free: 4.523 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/1.024, allocations: 7.984 kB / 1.404 GB, free: 4.516 MB / 1.123 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.0002188/1.024, allocations: 197.7 kB / 1.404 GB, free: 4.312 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/1.025, allocations: 63.34 kB / 1.404 GB, free: 4.25 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.011e-05/1.025, allocations: 64.31 kB / 1.404 GB, free: 4.184 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.025, allocations: 8 kB / 1.404 GB, free: 4.176 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.025, allocations: 0 / 1.404 GB, free: 4.176 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/1.025, allocations: 11.98 kB / 1.404 GB, free: 4.164 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/1.026, allocations: 1.301 MB / 1.405 GB, free: 2.773 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.026, allocations: 0 / 1.405 GB, free: 2.773 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/1.026, allocations: 43.89 kB / 1.405 GB, free: 2.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/1.026, allocations: 4 kB / 1.405 GB, free: 2.727 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/1.026, allocations: 8 kB / 1.405 GB, free: 2.719 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/1.026, allocations: 4 kB / 1.405 GB, free: 2.715 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.026, allocations: 0 / 1.405 GB, free: 2.715 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00042/1.027, allocations: 338.7 kB / 1.405 GB, free: 2.34 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/1.027, allocations: 152.5 kB / 1.406 GB, free: 2.172 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/1.027, allocations: 11.88 kB / 1.406 GB, free: 2.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/1.027, allocations: 7.984 kB / 1.406 GB, free: 2.152 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/1.027, allocations: 19.94 kB / 1.406 GB, free: 2.133 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/1.027, allocations: 7.938 kB / 1.406 GB, free: 2.125 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005375/1.028, allocations: 0.499 MB / 1.406 GB, free: 1.633 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.31e-07/1.028, allocations: 0 / 1.406 GB, free: 1.633 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004145/1.028, allocations: 75.91 kB / 1.406 GB, free: 1.559 MB / 1.123 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.0003258/1.029, allocations: 143.4 kB / 1.406 GB, free: 1.414 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003292/1.029, allocations: 107.8 kB / 1.406 GB, free: 1.309 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.029, allocations: 4 kB / 1.406 GB, free: 1.305 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/1.029, allocations: 56.84 kB / 1.407 GB, free: 1.25 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/1.03, allocations: 286.4 kB / 1.407 GB, free: 0.9727 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/1.032, allocations: 0.9213 MB / 1.408 GB, free: 15.98 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/1.032, allocations: 0.9088 MB / 1.409 GB, free: 15.05 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.204e-05/1.032, allocations: 35.44 kB / 1.409 GB, free: 15.02 MB / 1.139 GB Notification: Performance of SimCode: time 5.92e-07/1.032, allocations: 0 / 1.409 GB, free: 15.02 MB / 1.139 GB Notification: Performance of Templates: time 0.01205/1.045, allocations: 7.839 MB / 1.416 GB, free: 7.242 MB / 1.139 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