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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001723/0.001723, 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.001845/0.001845, allocations: 193.2 kB / 16.53 MB, free: 6.699 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.538/1.538, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.091/3.091, allocations: 482.6 MB / 0.7548 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 76.53 kB / 0.9241 GB, free: 29.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3867, allocations: 162.3 MB / 1.083 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 1.078/1.465, allocations: 176 MB / 1.254 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01138/1.476, allocations: 8.718 MB / 1.263 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/1.477, allocations: 21.78 kB / 1.263 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008855/1.478, allocations: 299.7 kB / 1.263 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009756/1.479, allocations: 293.4 kB / 1.264 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/1.481, allocations: 367.4 kB / 1.264 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001505/1.482, allocations: 1.142 MB / 1.265 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009262/1.483, allocations: 0.5871 MB / 1.266 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005831/1.489, allocations: 2.058 MB / 1.268 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007079/1.49, allocations: 335.5 kB / 1.268 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.853e-05/1.49, allocations: 39.88 kB / 1.268 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002699/1.49, allocations: 83 kB / 1.268 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002963/1.49, allocations: 258.1 kB / 1.268 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003223/1.491, allocations: 281 kB / 1.269 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008474/1.492, allocations: 0.6099 MB / 1.269 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.492, allocations: 3.969 kB / 1.269 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/1.492, allocations: 1.906 kB / 1.269 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.145e-05/1.492, allocations: 0.875 kB / 1.269 GB, free: 7.527 MB / 0.9981 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.001539/1.493, allocations: 0.8204 MB / 1.27 GB, free: 22.99 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.493, allocations: 8.703 kB / 1.27 GB, free: 22.99 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/1.493, allocations: 70.94 kB / 1.27 GB, free: 22.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006031/1.494, allocations: 416.4 kB / 1.27 GB, free: 22.7 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/1.494, allocations: 43.5 kB / 1.27 GB, free: 22.7 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.426e-05/1.494, allocations: 58.38 kB / 1.271 GB, free: 22.7 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/1.495, allocations: 0.6944 MB / 1.271 GB, free: 22.46 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/1.495, allocations: 3.062 kB / 1.271 GB, free: 22.46 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/1.495, allocations: 30.22 kB / 1.271 GB, free: 22.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/1.495, allocations: 28.47 kB / 1.271 GB, free: 22.46 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006803/1.496, allocations: 377.3 kB / 1.272 GB, free: 22.46 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/1.499, allocations: 3.24 MB / 1.275 GB, free: 20.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002341/1.499, allocations: 217.5 kB / 1.275 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/1.499, allocations: 129.8 kB / 1.275 GB, free: 19.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/1.499, allocations: 9.609 kB / 1.275 GB, free: 19.74 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/1.499, allocations: 49.52 kB / 1.275 GB, free: 19.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 2.255e-06/1.499, allocations: 0.8125 kB / 1.275 GB, free: 19.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0007562/1.5, allocations: 244.1 kB / 1.275 GB, free: 19.64 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001655/1.5, allocations: 296.5 kB / 1.276 GB, free: 19.3 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008622/1.501, allocations: 0.6834 MB / 1.276 GB, free: 19.17 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/1.501, allocations: 32.61 kB / 1.276 GB, free: 19.14 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/1.502, allocations: 266 kB / 1.277 GB, free: 19.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/1.502, allocations: 36.48 kB / 1.277 GB, free: 19.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/1.502, allocations: 30.73 kB / 1.277 GB, free: 19 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002201/1.502, allocations: 369.4 kB / 1.277 GB, free: 18.69 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/1.502, allocations: 37.19 kB / 1.277 GB, free: 18.69 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/1.502, allocations: 97.56 kB / 1.277 GB, free: 18.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/1.502, allocations: 126.7 kB / 1.277 GB, free: 18.6 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/1.502, allocations: 1.75 kB / 1.277 GB, free: 18.6 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003673/1.503, allocations: 190.2 kB / 1.277 GB, free: 18.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.503, allocations: 4.594 kB / 1.277 GB, free: 18.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/1.503, allocations: 1.344 kB / 1.277 GB, free: 18.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/1.503, allocations: 3.703 kB / 1.277 GB, free: 18.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/1.503, allocations: 44.22 kB / 1.278 GB, free: 18.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.503, allocations: 9.609 kB / 1.278 GB, free: 18.54 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/1.503, allocations: 56 kB / 1.278 GB, free: 18.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/1.503, allocations: 8.062 kB / 1.278 GB, free: 18.5 MB / 1.014 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.0002383/1.504, allocations: 204.5 kB / 1.278 GB, free: 18.38 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/1.504, allocations: 57.78 kB / 1.278 GB, free: 18.36 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.281e-05/1.504, allocations: 59.95 kB / 1.278 GB, free: 18.34 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.504, allocations: 5.156 kB / 1.278 GB, free: 18.34 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/1.504, allocations: 10.25 kB / 1.278 GB, free: 18.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.504, allocations: 4.016 kB / 1.278 GB, free: 18.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/1.506, allocations: 1.302 MB / 1.279 GB, free: 17.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.506, allocations: 5.516 kB / 1.279 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/1.506, allocations: 42.34 kB / 1.279 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/1.506, allocations: 4.062 kB / 1.279 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/1.506, allocations: 6.5 kB / 1.279 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.506, allocations: 7.031 kB / 1.279 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.506, allocations: 7.125 kB / 1.279 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003897/1.506, allocations: 341.8 kB / 1.28 GB, free: 17.12 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/1.506, allocations: 143.7 kB / 1.28 GB, free: 17 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/1.506, allocations: 9.078 kB / 1.28 GB, free: 17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/1.507, allocations: 8.109 kB / 1.28 GB, free: 17 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/1.507, allocations: 20.02 kB / 1.28 GB, free: 17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/1.507, allocations: 7.125 kB / 1.28 GB, free: 17 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000579/1.507, allocations: 0.4921 MB / 1.28 GB, free: 16.91 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.507, allocations: 1.188 kB / 1.28 GB, free: 16.91 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004483/1.508, allocations: 89.14 kB / 1.28 GB, free: 16.9 MB / 1.014 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.000418/1.508, allocations: 135 kB / 1.28 GB, free: 16.81 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003431/1.509, allocations: 107.6 kB / 1.281 GB, free: 16.81 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.509, allocations: 0.6875 kB / 1.281 GB, free: 16.81 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/1.509, allocations: 63.69 kB / 1.281 GB, free: 16.81 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/1.51, allocations: 287.2 kB / 1.281 GB, free: 16.77 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/1.512, allocations: 0.8858 MB / 1.282 GB, free: 16.33 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006484/1.512, allocations: 0.9057 MB / 1.283 GB, free: 15.63 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002984/1.513, allocations: 103.5 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/1.513, allocations: 35.53 kB / 1.283 GB, free: 15.61 MB / 1.014 GB Notification: Performance of SimCode: time 1.543e-06/1.513, allocations: 0.9688 kB / 1.283 GB, free: 15.61 MB / 1.014 GB Notification: Performance of Templates: time 0.02114/1.534, allocations: 8.423 MB / 1.291 GB, free: 15.25 MB / 1.014 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=400 -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