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.008278/0.008278, allocations: 103.8 kB / 15.73 MB, free: 6.008 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.002056/0.002057, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.91 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9274/0.9288, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1943/1.123, allocations: 176 MB / 1.38 GB, free: 13.01 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01113/1.134, allocations: 8.703 MB / 1.388 GB, free: 4.281 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009499/1.135, allocations: 23.88 kB / 1.388 GB, free: 4.258 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/1.136, allocations: 301.8 kB / 1.388 GB, free: 3.961 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.000996/1.137, allocations: 306.4 kB / 1.389 GB, free: 3.66 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/1.139, allocations: 376.8 kB / 1.389 GB, free: 3.297 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001483/1.14, allocations: 1.144 MB / 1.39 GB, free: 2.145 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009666/1.141, allocations: 0.59 MB / 1.391 GB, free: 1.551 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004654/1.146, allocations: 2.07 MB / 1.393 GB, free: 15.47 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005782/1.146, allocations: 350.4 kB / 1.393 GB, free: 15.13 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 8.881e-05/1.146, allocations: 40 kB / 1.393 GB, free: 15.09 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/1.147, allocations: 83.94 kB / 1.393 GB, free: 15.01 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002741/1.147, allocations: 259.3 kB / 1.393 GB, free: 14.75 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003509/1.147, allocations: 282.5 kB / 1.394 GB, free: 14.48 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007116/1.148, allocations: 0.6306 MB / 1.394 GB, free: 13.84 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.148, allocations: 3.938 kB / 1.394 GB, free: 13.84 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.884e-06/1.148, allocations: 0 / 1.394 GB, free: 13.84 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.464e-05/1.148, allocations: 0 / 1.394 GB, free: 13.84 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.149, allocations: 0.8262 MB / 1.395 GB, free: 12.96 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.149, allocations: 8.031 kB / 1.395 GB, free: 12.95 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/1.149, allocations: 71.09 kB / 1.395 GB, free: 12.88 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007398/1.15, allocations: 446.2 kB / 1.396 GB, free: 12.41 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/1.15, allocations: 33.31 kB / 1.396 GB, free: 12.38 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/1.15, allocations: 52 kB / 1.396 GB, free: 12.33 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/1.151, allocations: 0.7027 MB / 1.396 GB, free: 11.54 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/1.151, allocations: 7.938 kB / 1.396 GB, free: 11.54 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/1.151, allocations: 24 kB / 1.396 GB, free: 11.51 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/1.152, allocations: 35.92 kB / 1.396 GB, free: 11.48 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006697/1.152, allocations: 371.4 kB / 1.397 GB, free: 11.11 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002547/1.155, allocations: 3.219 MB / 1.4 GB, free: 7.75 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/1.155, allocations: 214.1 kB / 1.4 GB, free: 7.449 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/1.155, allocations: 132.5 kB / 1.4 GB, free: 7.289 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/1.155, allocations: 4 kB / 1.4 GB, free: 7.285 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/1.155, allocations: 46.5 kB / 1.4 GB, free: 7.23 MB / 1.123 GB Notification: Performance of pre-optimization done (n=10): time 1.924e-06/1.155, allocations: 0 / 1.4 GB, free: 7.23 MB / 1.123 GB Notification: Performance of matching and sorting (n=10): time 0.0007213/1.156, allocations: 249.5 kB / 1.401 GB, free: 6.98 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/1.156, allocations: 294.7 kB / 1.401 GB, free: 6.625 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007593/1.157, allocations: 0.6803 MB / 1.402 GB, free: 5.938 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/1.157, allocations: 34.11 kB / 1.402 GB, free: 5.898 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/1.157, allocations: 268.2 kB / 1.402 GB, free: 5.633 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/1.157, allocations: 39.39 kB / 1.402 GB, free: 5.594 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/1.157, allocations: 33.7 kB / 1.402 GB, free: 5.555 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.157, allocations: 366.8 kB / 1.402 GB, free: 5.188 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/1.158, allocations: 35.95 kB / 1.402 GB, free: 5.152 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/1.158, allocations: 101 kB / 1.402 GB, free: 5.035 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/1.158, allocations: 129.2 kB / 1.403 GB, free: 4.891 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.158, allocations: 0 / 1.403 GB, free: 4.891 MB / 1.123 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003603/1.158, allocations: 188.8 kB / 1.403 GB, free: 4.699 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.158, allocations: 4 kB / 1.403 GB, free: 4.695 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.158, allocations: 7.938 kB / 1.403 GB, free: 4.688 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/1.158, allocations: 192 / 1.403 GB, free: 4.688 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/1.159, allocations: 47.89 kB / 1.403 GB, free: 4.641 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/1.159, allocations: 7.984 kB / 1.403 GB, free: 4.633 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/1.159, allocations: 59.27 kB / 1.403 GB, free: 4.574 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/1.159, allocations: 4 kB / 1.403 GB, free: 4.57 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.0001945/1.159, allocations: 205.7 kB / 1.403 GB, free: 4.359 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002162/1.159, allocations: 59.34 kB / 1.403 GB, free: 4.301 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.905e-05/1.159, allocations: 64.27 kB / 1.403 GB, free: 4.234 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/1.159, allocations: 4 kB / 1.403 GB, free: 4.23 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.159, allocations: 3.984 kB / 1.403 GB, free: 4.227 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/1.159, allocations: 4 kB / 1.403 GB, free: 4.223 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/1.161, allocations: 1.3 MB / 1.404 GB, free: 2.832 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.161, allocations: 0 / 1.404 GB, free: 2.832 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/1.161, allocations: 39.95 kB / 1.404 GB, free: 2.793 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.161, allocations: 4 kB / 1.404 GB, free: 2.789 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/1.161, allocations: 12.28 kB / 1.404 GB, free: 2.777 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/1.161, allocations: 7.938 kB / 1.404 GB, free: 2.77 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.161, allocations: 0 / 1.404 GB, free: 2.77 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/1.161, allocations: 338.3 kB / 1.405 GB, free: 2.395 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/1.162, allocations: 148.4 kB / 1.405 GB, free: 2.23 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/1.162, allocations: 4 kB / 1.405 GB, free: 2.227 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/1.162, allocations: 12 kB / 1.405 GB, free: 2.215 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/1.162, allocations: 19.86 kB / 1.405 GB, free: 2.195 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/1.162, allocations: 4 kB / 1.405 GB, free: 2.191 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005101/1.162, allocations: 0.4951 MB / 1.405 GB, free: 1.703 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.493e-06/1.162, allocations: 0 / 1.405 GB, free: 1.703 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004025/1.163, allocations: 83.84 kB / 1.406 GB, free: 1.621 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.0003221/1.163, allocations: 156.4 kB / 1.406 GB, free: 1.465 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003308/1.164, allocations: 111.8 kB / 1.406 GB, free: 1.355 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.164, allocations: 0 / 1.406 GB, free: 1.355 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/1.164, allocations: 60.59 kB / 1.406 GB, free: 1.297 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/1.165, allocations: 268.5 kB / 1.406 GB, free: 1.035 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/1.166, allocations: 0.8763 MB / 1.407 GB, free: 104 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/1.167, allocations: 0.9127 MB / 1.408 GB, free: 15.16 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002458/1.167, allocations: 104.6 kB / 1.408 GB, free: 15.06 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/1.167, allocations: 39.44 kB / 1.408 GB, free: 15.02 MB / 1.139 GB Notification: Performance of SimCode: time 4.41e-07/1.167, allocations: 0 / 1.408 GB, free: 15.02 MB / 1.139 GB Notification: Performance of Templates: time 0.01476/1.182, allocations: 8.615 MB / 1.416 GB, free: 6.531 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/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