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.001158/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001209/0.00121, allocations: 193.1 kB / 16.13 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.543 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.577/2.577, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001289, allocations: 59.91 kB / 0.8685 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6137, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1893/0.803, allocations: 173.7 MB / 1.186 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009191/0.8123, allocations: 8.707 MB / 1.195 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007323/0.813, allocations: 19.88 kB / 1.195 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008396/0.8139, allocations: 242.3 kB / 1.195 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000714/0.8146, allocations: 294.7 kB / 1.195 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008989/0.8155, allocations: 332.8 kB / 1.196 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00142/0.817, allocations: 1.62 MB / 1.197 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006605/0.8176, allocations: 0.5007 MB / 1.198 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/0.8227, allocations: 1.934 MB / 1.2 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005648/0.8233, allocations: 374.3 kB / 1.2 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.169e-05/0.8234, allocations: 28 kB / 1.2 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.8236, allocations: 59.97 kB / 1.2 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002464/0.8238, allocations: 243.4 kB / 1.2 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.8241, allocations: 274.5 kB / 1.201 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006205/0.8248, allocations: 0.6033 MB / 1.201 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-05/0.8248, allocations: 0 / 1.201 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.92e-07/0.8248, allocations: 0 / 1.201 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.8248, allocations: 4 kB / 1.201 GB, free: 5.164 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.001115/0.8259, allocations: 0.8146 MB / 1.202 GB, free: 4.301 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.826, allocations: 8.031 kB / 1.202 GB, free: 4.293 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.8261, allocations: 71.19 kB / 1.202 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.8266, allocations: 418.1 kB / 1.202 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/0.8267, allocations: 41.25 kB / 1.202 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.8268, allocations: 59.92 kB / 1.202 GB, free: 3.672 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.8278, allocations: 0.6988 MB / 1.203 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.8278, allocations: 7.938 kB / 1.203 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.555e-05/0.8279, allocations: 20 kB / 1.203 GB, free: 2.863 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/0.8279, allocations: 35.92 kB / 1.203 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006531/0.8286, allocations: 377.3 kB / 1.204 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002597/0.8312, allocations: 3.219 MB / 1.207 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.8315, allocations: 222.1 kB / 1.207 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.8317, allocations: 128.7 kB / 1.207 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.8317, allocations: 11.92 kB / 1.207 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.8317, allocations: 46.5 kB / 1.207 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.8317, allocations: 0 / 1.207 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0006823/0.8324, allocations: 253.7 kB / 1.207 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.8326, allocations: 290.7 kB / 1.208 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007226/0.8333, allocations: 0.6838 MB / 1.208 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.8333, allocations: 29.7 kB / 1.208 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.8336, allocations: 268.2 kB / 1.209 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.8336, allocations: 31.55 kB / 1.209 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.8337, allocations: 25.72 kB / 1.209 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.8338, allocations: 374.8 kB / 1.209 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.834, allocations: 39.91 kB / 1.209 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.8341, allocations: 93.09 kB / 1.209 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.8344, allocations: 125 kB / 1.209 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8344, allocations: 0 / 1.209 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003386/0.8347, allocations: 196.7 kB / 1.209 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.8348, allocations: 4 kB / 1.209 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-05/0.8348, allocations: 12 kB / 1.209 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.8349, allocations: 0 / 1.209 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.8351, allocations: 43.89 kB / 1.209 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.8351, allocations: 4.172 kB / 1.209 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.8354, allocations: 67.36 kB / 1.21 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.8354, allocations: 4 kB / 1.21 GB, free: 11.91 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.0002157/0.8356, allocations: 197.8 kB / 1.21 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.8358, allocations: 63.25 kB / 1.21 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.34e-05/0.8359, allocations: 64.27 kB / 1.21 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.836, allocations: 7.984 kB / 1.21 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.836, allocations: 4.188 kB / 1.21 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.836, allocations: 4 kB / 1.21 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/0.8375, allocations: 1.308 MB / 1.211 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8375, allocations: 0 / 1.211 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.8377, allocations: 39.95 kB / 1.211 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.8377, allocations: 7.938 kB / 1.211 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.8377, allocations: 7.984 kB / 1.211 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8377, allocations: 288 / 1.211 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.8377, allocations: 8 kB / 1.211 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.8381, allocations: 338.4 kB / 1.212 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.8383, allocations: 156.3 kB / 1.212 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.8383, allocations: 4 kB / 1.212 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.8385, allocations: 15.98 kB / 1.212 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.8386, allocations: 23.86 kB / 1.212 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.8386, allocations: 4 kB / 1.212 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005417/0.8392, allocations: 0.4951 MB / 1.212 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8392, allocations: 0 / 1.212 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000409/0.8396, allocations: 75.91 kB / 1.212 GB, free: 8.938 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.0003745/0.84, allocations: 146.5 kB / 1.212 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003267/0.8403, allocations: 99.86 kB / 1.213 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8403, allocations: 0 / 1.213 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.8405, allocations: 68.45 kB / 1.213 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.8418, allocations: 269.6 kB / 1.213 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.8432, allocations: 1.011 MB / 1.214 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.8438, allocations: 0.9091 MB / 1.215 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002639/0.8441, allocations: 108.6 kB / 1.215 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.652e-05/0.8442, allocations: 35.44 kB / 1.215 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of SimCode: time 4.889e-06/0.8442, allocations: 0 / 1.215 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of Templates: time 0.01558/0.8598, allocations: 8.024 MB / 1.223 GB, free: 14.33 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=480 -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