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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001095/0.001095, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001226/0.001226, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 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: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.651/2.651, allocations: 436.5 MB / 0.7104 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.000326, allocations: 15.94 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6304/0.6307, allocations: 153.7 MB / 1.021 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1583/0.7891, allocations: 146.9 MB / 1.164 GB, free: 13.82 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007856/0.797, allocations: 7.009 MB / 1.171 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/0.7976, allocations: 15.88 kB / 1.171 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.7986, allocations: 342.5 kB / 1.171 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0009525/0.7996, allocations: 374.8 kB / 1.172 GB, free: 6.07 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.801, allocations: 0.5327 MB / 1.172 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008213/0.8019, allocations: 0.6698 MB / 1.173 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006235/0.8025, allocations: 464.1 kB / 1.173 GB, free: 4.418 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00274/0.8052, allocations: 1.215 MB / 1.175 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.8055, allocations: 211 kB / 1.175 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.8056, allocations: 20 kB / 1.175 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.8058, allocations: 59.91 kB / 1.175 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.806, allocations: 223.4 kB / 1.175 GB, free: 2.695 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.8061, allocations: 125.4 kB / 1.175 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004321/0.8065, allocations: 462.9 kB / 1.176 GB, free: 2.113 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.8065, allocations: 0 / 1.176 GB, free: 2.113 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8066, allocations: 0 / 1.176 GB, free: 2.113 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.8066, allocations: 0 / 1.176 GB, free: 2.113 MB / 0.92 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.0009074/0.8075, allocations: 0.7094 MB / 1.176 GB, free: 1.355 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.8075, allocations: 15.98 kB / 1.176 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.99e-05/0.8076, allocations: 71.25 kB / 1.176 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.8082, allocations: 402.4 kB / 1.177 GB, free: 0.832 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.8083, allocations: 45.25 kB / 1.177 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.811e-05/0.8083, allocations: 55.98 kB / 1.177 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009563/0.8093, allocations: 0.7027 MB / 1.178 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.8093, allocations: 4 kB / 1.178 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.8094, allocations: 20 kB / 1.178 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.228e-05/0.8094, allocations: 35.92 kB / 1.178 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006334/0.8101, allocations: 379.4 kB / 1.178 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.8126, allocations: 3.227 MB / 1.181 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.8128, allocations: 226.1 kB / 1.181 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.8129, allocations: 8.172 kB / 1.181 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.8129, allocations: 54.38 kB / 1.181 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 3.747e-06/0.8129, allocations: 3.984 kB / 1.181 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0007153/0.8136, allocations: 261.8 kB / 1.182 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.8138, allocations: 294.7 kB / 1.182 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007179/0.8145, allocations: 0.6838 MB / 1.183 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.8145, allocations: 25.7 kB / 1.183 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.8147, allocations: 264.2 kB / 1.183 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.8148, allocations: 31.56 kB / 1.183 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.8148, allocations: 0 / 1.183 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.8149, allocations: 374.8 kB / 1.183 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.8151, allocations: 35.97 kB / 1.183 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.8152, allocations: 113 kB / 1.183 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.8154, allocations: 43.97 kB / 1.183 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8154, allocations: 0 / 1.183 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003487/0.8157, allocations: 208.7 kB / 1.184 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.8158, allocations: 8.141 kB / 1.184 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.8158, allocations: 0 / 1.184 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.8158, allocations: 7.938 kB / 1.184 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.816, allocations: 56.08 kB / 1.184 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.8161, allocations: 4 kB / 1.184 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.8163, allocations: 59.36 kB / 1.184 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.8163, allocations: 12 kB / 1.184 GB, free: 9.188 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.8165, allocations: 197.8 kB / 1.184 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/0.8168, allocations: 59.25 kB / 1.184 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.8e-05/0.8169, allocations: 68.28 kB / 1.184 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.8169, allocations: 0 / 1.184 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.8169, allocations: 4 kB / 1.184 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.8169, allocations: 7.984 kB / 1.184 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.8183, allocations: 1.301 MB / 1.185 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.8183, allocations: 8.031 kB / 1.185 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.8185, allocations: 47.95 kB / 1.185 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.8185, allocations: 4 kB / 1.185 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.8185, allocations: 4 kB / 1.185 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.8185, allocations: 7.938 kB / 1.185 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8185, allocations: 8.062 kB / 1.186 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/0.819, allocations: 449.9 kB / 1.186 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.8191, allocations: 152.3 kB / 1.186 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/0.8192, allocations: 11.95 kB / 1.186 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.8194, allocations: 19.98 kB / 1.186 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.8195, allocations: 15.92 kB / 1.186 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.8195, allocations: 4 kB / 1.186 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005175/0.82, allocations: 499 kB / 1.187 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.82, allocations: 0 / 1.187 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004055/0.8204, allocations: 91.84 kB / 1.187 GB, free: 6.043 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002995/0.8207, allocations: 137.3 kB / 1.187 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000327/0.8211, allocations: 111.9 kB / 1.187 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8211, allocations: 0 / 1.187 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.8212, allocations: 64.77 kB / 1.187 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.8225, allocations: 279.9 kB / 1.187 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.8238, allocations: 0.9592 MB / 1.188 GB, free: 4.449 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.8242, allocations: 0.9208 MB / 1.189 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002437/0.8245, allocations: 104.6 kB / 1.189 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.8245, allocations: 31.44 kB / 1.189 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.8245, allocations: 8 kB / 1.189 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of Templates: time 0.01379/0.8383, allocations: 7.768 MB / 1.197 GB, free: 11.71 MB / 0.9512 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","../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches