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.001522/0.001522, allocations: 113.7 kB / 16.37 MB, free: 6.004 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.001927/0.001926, allocations: 196 kB / 17.31 MB, free: 5.613 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.441/2.441, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001453, allocations: 64.34 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2848, allocations: 153 MB / 1.027 GB, free: 2.008 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.6427/0.9275, allocations: 176 MB / 1.199 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009679/0.9373, allocations: 8.719 MB / 1.207 GB, free: 15.43 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007545/0.9381, allocations: 22.47 kB / 1.207 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007631/0.9388, allocations: 300.3 kB / 1.207 GB, free: 15.15 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000656/0.9396, allocations: 301.1 kB / 1.208 GB, free: 14.91 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009392/0.9405, allocations: 383.9 kB / 1.208 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001151/0.9417, allocations: 1.142 MB / 1.209 GB, free: 13.96 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007408/0.9424, allocations: 0.5864 MB / 1.21 GB, free: 13.63 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004115/0.9466, allocations: 2.063 MB / 1.212 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004165/0.947, allocations: 350.6 kB / 1.212 GB, free: 12.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.537e-05/0.947, allocations: 39.44 kB / 1.212 GB, free: 12.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.9472, allocations: 80.89 kB / 1.212 GB, free: 12 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.9475, allocations: 265.4 kB / 1.212 GB, free: 11.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.9477, allocations: 280.1 kB / 1.213 GB, free: 11.66 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00058/0.9483, allocations: 0.6298 MB / 1.213 GB, free: 11.24 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.9483, allocations: 0 / 1.213 GB, free: 11.24 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9483, allocations: 0 / 1.213 GB, free: 11.24 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.9483, allocations: 0 / 1.213 GB, free: 11.24 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.0009436/0.9493, allocations: 0.8238 MB / 1.214 GB, free: 10.54 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.9493, allocations: 9.594 kB / 1.214 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.429e-05/0.9494, allocations: 68.62 kB / 1.214 GB, free: 10.51 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006519/0.9501, allocations: 450.4 kB / 1.215 GB, free: 10.13 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/0.9501, allocations: 41.23 kB / 1.215 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.052e-05/0.9502, allocations: 53.94 kB / 1.215 GB, free: 10.09 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009181/0.9511, allocations: 0.7011 MB / 1.215 GB, free: 9.562 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.9512, allocations: 10.91 kB / 1.215 GB, free: 9.555 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/0.9512, allocations: 20.81 kB / 1.215 GB, free: 9.539 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/0.9513, allocations: 34.83 kB / 1.216 GB, free: 9.527 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/0.9518, allocations: 383.6 kB / 1.216 GB, free: 9.34 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.9542, allocations: 3.206 MB / 1.219 GB, free: 6.379 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.9544, allocations: 216.1 kB / 1.219 GB, free: 6.105 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.9546, allocations: 133.8 kB / 1.219 GB, free: 5.988 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.9546, allocations: 0 / 1.219 GB, free: 5.988 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.9546, allocations: 51.2 kB / 1.219 GB, free: 5.934 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.9546, allocations: 0 / 1.219 GB, free: 5.934 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0006333/0.9553, allocations: 258.7 kB / 1.22 GB, free: 5.785 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.9554, allocations: 285.6 kB / 1.22 GB, free: 5.441 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006675/0.9561, allocations: 0.6867 MB / 1.221 GB, free: 5.055 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.9561, allocations: 28.45 kB / 1.221 GB, free: 5.023 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.9563, allocations: 265 kB / 1.221 GB, free: 4.793 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.9563, allocations: 34.28 kB / 1.221 GB, free: 4.762 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.9564, allocations: 30.23 kB / 1.221 GB, free: 4.738 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.9566, allocations: 373.5 kB / 1.221 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.9567, allocations: 36.28 kB / 1.221 GB, free: 4.363 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.9568, allocations: 98.66 kB / 1.221 GB, free: 4.285 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.9571, allocations: 122.8 kB / 1.222 GB, free: 4.195 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.9571, allocations: 336 / 1.222 GB, free: 4.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003157/0.9574, allocations: 194.9 kB / 1.222 GB, free: 4.082 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.9574, allocations: 4.844 kB / 1.222 GB, free: 4.082 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.9574, allocations: 6.188 kB / 1.222 GB, free: 4.078 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.9575, allocations: 10.95 kB / 1.222 GB, free: 4.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.9577, allocations: 45.2 kB / 1.222 GB, free: 4.051 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.9577, allocations: 2.719 kB / 1.222 GB, free: 4.051 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.9579, allocations: 51.83 kB / 1.222 GB, free: 4.016 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.9579, allocations: 11.28 kB / 1.222 GB, free: 4.012 MB / 0.92 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.0001743/0.9581, allocations: 199.2 kB / 1.222 GB, free: 3.852 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.9583, allocations: 59.12 kB / 1.222 GB, free: 3.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.357e-05/0.9584, allocations: 69.28 kB / 1.222 GB, free: 3.773 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.9584, allocations: 6.406 kB / 1.222 GB, free: 3.77 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9584, allocations: 9 kB / 1.222 GB, free: 3.766 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.9584, allocations: 0 / 1.222 GB, free: 3.766 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.9598, allocations: 1.302 MB / 1.223 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.9598, allocations: 2.906 kB / 1.223 GB, free: 2.555 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.96, allocations: 47.45 kB / 1.223 GB, free: 2.535 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.96, allocations: 2.938 kB / 1.223 GB, free: 2.535 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.96, allocations: 4.5 kB / 1.223 GB, free: 2.535 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.96, allocations: 7.281 kB / 1.223 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.96, allocations: 6.266 kB / 1.223 GB, free: 2.527 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.9603, allocations: 333.4 kB / 1.224 GB, free: 2.238 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.9605, allocations: 149.2 kB / 1.224 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.594e-05/0.9606, allocations: 6.656 kB / 1.224 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.9608, allocations: 9.234 kB / 1.224 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.9608, allocations: 23.42 kB / 1.224 GB, free: 2.074 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.9608, allocations: 2.75 kB / 1.224 GB, free: 2.074 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004659/0.9613, allocations: 0.49 MB / 1.224 GB, free: 1.801 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9613, allocations: 0 / 1.224 GB, free: 1.801 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003609/0.9617, allocations: 89.06 kB / 1.225 GB, free: 1.785 MB / 0.92 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.0002602/0.9619, allocations: 136.9 kB / 1.225 GB, free: 1.68 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.9622, allocations: 101.5 kB / 1.225 GB, free: 1.637 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9622, allocations: 2.938 kB / 1.225 GB, free: 1.637 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.9624, allocations: 69.08 kB / 1.225 GB, free: 1.602 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.9635, allocations: 291.4 kB / 1.225 GB, free: 1.418 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.9647, allocations: 0.8649 MB / 1.226 GB, free: 0.5 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.9651, allocations: 0.9049 MB / 1.227 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002151/0.9653, allocations: 108.6 kB / 1.227 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.9654, allocations: 35.44 kB / 1.227 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.9654, allocations: 4 kB / 1.227 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of Templates: time 0.01353/0.979, allocations: 8.406 MB / 1.235 GB, free: 7.137 MB / 0.9356 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 -s gbode -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