Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001389/0.001388, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001408, allocations: 196 kB / 16.53 MB, free: 6.664 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.569/1.569, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.757/2.757, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 63.91 kB / 0.8692 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/0.7125, allocations: 151.6 MB / 1.017 GB, free: 2.523 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2232/0.9357, allocations: 176 MB / 1.189 GB, free: 1.879 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.9475, allocations: 8.72 MB / 1.198 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008555/0.9484, allocations: 19.88 kB / 1.198 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009083/0.9493, allocations: 301.8 kB / 1.198 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009575/0.9504, allocations: 306.4 kB / 1.198 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.9516, allocations: 375.4 kB / 1.199 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001336/0.953, allocations: 1.141 MB / 1.2 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008955/0.9539, allocations: 0.5921 MB / 1.2 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004908/0.9588, allocations: 2.058 MB / 1.202 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004813/0.9593, allocations: 350.4 kB / 1.203 GB, free: 4 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.523e-05/0.9594, allocations: 40 kB / 1.203 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.9596, allocations: 83.89 kB / 1.203 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.9599, allocations: 259.4 kB / 1.203 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.9602, allocations: 278.5 kB / 1.203 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007287/0.961, allocations: 0.6112 MB / 1.204 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.961, allocations: 0 / 1.204 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.072e-06/0.961, allocations: 4 kB / 1.204 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.961, allocations: 0 / 1.204 GB, free: 2.734 MB / 0.9512 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.001144/0.9622, allocations: 0.8223 MB / 1.205 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.9622, allocations: 8.031 kB / 1.205 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.9623, allocations: 67.19 kB / 1.205 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005978/0.9629, allocations: 414.1 kB / 1.205 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.963, allocations: 45.3 kB / 1.205 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.77e-05/0.9631, allocations: 52 kB / 1.205 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.9642, allocations: 0.7105 MB / 1.206 GB, free: 464 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.9642, allocations: 0 / 1.206 GB, free: 464 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.9643, allocations: 24 kB / 1.206 GB, free: 440 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.907e-05/0.9643, allocations: 35.86 kB / 1.206 GB, free: 404 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006803/0.965, allocations: 375.4 kB / 1.206 GB, free: 28 kB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00292/0.968, allocations: 3.227 MB / 1.21 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.9683, allocations: 222.1 kB / 1.21 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.9685, allocations: 124.7 kB / 1.21 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.9685, allocations: 11.86 kB / 1.21 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.9686, allocations: 46.5 kB / 1.21 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.9686, allocations: 0 / 1.21 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0007214/0.9693, allocations: 249.7 kB / 1.21 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/0.9695, allocations: 294.7 kB / 1.21 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008252/0.9703, allocations: 0.6877 MB / 1.211 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.9703, allocations: 25.7 kB / 1.211 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.9706, allocations: 272.1 kB / 1.211 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.9706, allocations: 35.55 kB / 1.211 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/0.9707, allocations: 25.72 kB / 1.211 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.9709, allocations: 370.8 kB / 1.212 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.9711, allocations: 35.97 kB / 1.212 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.9713, allocations: 97.09 kB / 1.212 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.9715, allocations: 125 kB / 1.212 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.9715, allocations: 3.984 kB / 1.212 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000372/0.9719, allocations: 192.8 kB / 1.212 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.9719, allocations: 8 kB / 1.212 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.972, allocations: 3.938 kB / 1.212 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.972, allocations: 4 kB / 1.212 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.9722, allocations: 35.95 kB / 1.212 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.9722, allocations: 4.188 kB / 1.212 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.9724, allocations: 55.36 kB / 1.212 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.9725, allocations: 12 kB / 1.212 GB, free: 9.48 MB / 0.9669 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.0002343/0.9727, allocations: 197.7 kB / 1.213 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.973, allocations: 67.22 kB / 1.213 GB, free: 9.211 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.473e-05/0.9731, allocations: 64.27 kB / 1.213 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.9731, allocations: 4 kB / 1.213 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.9731, allocations: 4 kB / 1.213 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.9731, allocations: 4 kB / 1.213 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.9746, allocations: 1.312 MB / 1.214 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.9746, allocations: 4 kB / 1.214 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.9748, allocations: 35.97 kB / 1.214 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.9748, allocations: 0 / 1.214 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.9749, allocations: 7.984 kB / 1.214 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.9749, allocations: 4 kB / 1.214 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/0.9749, allocations: 7.938 kB / 1.214 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.9753, allocations: 338.5 kB / 1.214 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.9755, allocations: 152.5 kB / 1.214 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.9756, allocations: 8 kB / 1.214 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.9758, allocations: 7.984 kB / 1.214 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.9758, allocations: 23.8 kB / 1.215 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.9758, allocations: 12 kB / 1.215 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005654/0.9764, allocations: 499 kB / 1.215 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9764, allocations: 0 / 1.215 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003875/0.9768, allocations: 84 kB / 1.215 GB, free: 6.508 MB / 0.9669 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.0003209/0.9771, allocations: 138.6 kB / 1.215 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003371/0.9775, allocations: 107.8 kB / 1.215 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9775, allocations: 0 / 1.215 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.9776, allocations: 64.77 kB / 1.215 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.979, allocations: 278.1 kB / 1.216 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.9804, allocations: 0.8882 MB / 1.217 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008604/0.9813, allocations: 0.9048 MB / 1.217 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002626/0.9815, allocations: 108.6 kB / 1.217 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.9816, allocations: 35.44 kB / 1.218 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.9816, allocations: 0 / 1.218 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of Templates: time 0.01876/1, allocations: 8.418 MB / 1.226 GB, free: 11.64 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches