Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001217/0.001216, allocations: 108.5 kB / 15.99 MB, free: 6.359 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.001241/0.001242, allocations: 192.8 kB / 16.91 MB, free: 6.195 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.318/1.318, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.323/2.323, allocations: 390.2 MB / 0.665 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.27 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3057, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.7512/1.057, allocations: 173.6 MB / 1.119 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009176/1.066, allocations: 8.625 MB / 1.128 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/1.067, allocations: 19.16 kB / 1.128 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008656/1.068, allocations: 252.5 kB / 1.128 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000858/1.069, allocations: 288.5 kB / 1.128 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/1.07, allocations: 338.9 kB / 1.129 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001319/1.071, allocations: 1.153 MB / 1.13 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007738/1.072, allocations: 0.5558 MB / 1.13 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005522/1.078, allocations: 1.995 MB / 1.132 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005804/1.078, allocations: 377.2 kB / 1.133 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.533e-05/1.078, allocations: 40.98 kB / 1.133 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/1.079, allocations: 83.34 kB / 1.133 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002756/1.079, allocations: 256.4 kB / 1.133 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003228/1.079, allocations: 282.4 kB / 1.133 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005446/1.08, allocations: 473.6 kB / 1.134 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/1.08, allocations: 0 / 1.134 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/1.08, allocations: 0 / 1.134 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.178e-06/1.08, allocations: 0 / 1.134 GB, free: 5.051 MB / 0.8575 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.001176/1.081, allocations: 0.8156 MB / 1.134 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.081, allocations: 9.625 kB / 1.134 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/1.081, allocations: 70.45 kB / 1.135 GB, free: 20.48 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/1.082, allocations: 418.1 kB / 1.135 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/1.082, allocations: 41.06 kB / 1.135 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.162e-05/1.082, allocations: 49.44 kB / 1.135 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009518/1.083, allocations: 0.7169 MB / 1.136 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/1.083, allocations: 4.438 kB / 1.136 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/1.083, allocations: 23.62 kB / 1.136 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.698e-05/1.083, allocations: 37.27 kB / 1.136 GB, free: 19.96 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000593/1.084, allocations: 377 kB / 1.136 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/1.086, allocations: 3.225 MB / 1.139 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/1.086, allocations: 219.6 kB / 1.14 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/1.086, allocations: 127.2 kB / 1.14 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/1.086, allocations: 8.031 kB / 1.14 GB, free: 17.22 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/1.087, allocations: 48.8 kB / 1.14 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/1.087, allocations: 0 / 1.14 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006706/1.087, allocations: 255.7 kB / 1.14 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/1.087, allocations: 289.1 kB / 1.14 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007425/1.088, allocations: 0.6851 MB / 1.141 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/1.088, allocations: 34.52 kB / 1.141 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/1.088, allocations: 266.5 kB / 1.141 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/1.088, allocations: 31.38 kB / 1.141 GB, free: 16.48 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/1.088, allocations: 30.5 kB / 1.141 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.089, allocations: 365.4 kB / 1.142 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/1.089, allocations: 35.78 kB / 1.142 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/1.089, allocations: 102.4 kB / 1.142 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/1.089, allocations: 128.8 kB / 1.142 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.089, allocations: 0 / 1.142 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003314/1.089, allocations: 187.5 kB / 1.142 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/1.089, allocations: 5.25 kB / 1.142 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.089, allocations: 2.469 kB / 1.142 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.089, allocations: 9.406 kB / 1.142 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/1.09, allocations: 44.41 kB / 1.142 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/1.09, allocations: 1.688 kB / 1.142 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/1.09, allocations: 58.61 kB / 1.142 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/1.09, allocations: 12.88 kB / 1.142 GB, free: 15.95 MB / 0.8731 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.0001904/1.09, allocations: 199.8 kB / 1.142 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/1.09, allocations: 65.06 kB / 1.142 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.028e-05/1.09, allocations: 63.98 kB / 1.142 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.09, allocations: 6.547 kB / 1.142 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.09, allocations: 2.781 kB / 1.142 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.09, allocations: 5.469 kB / 1.142 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/1.092, allocations: 1.3 MB / 1.144 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/1.092, allocations: 8.656 kB / 1.144 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/1.092, allocations: 50.03 kB / 1.144 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/1.092, allocations: 2.75 kB / 1.144 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/1.092, allocations: 5.469 kB / 1.144 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/1.092, allocations: 4.844 kB / 1.144 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.092, allocations: 2.719 kB / 1.144 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/1.092, allocations: 331 kB / 1.144 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/1.093, allocations: 157.2 kB / 1.144 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.017e-05/1.093, allocations: 3.281 kB / 1.144 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/1.093, allocations: 17.97 kB / 1.144 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/1.093, allocations: 18.2 kB / 1.144 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/1.093, allocations: 4.875 kB / 1.144 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004966/1.093, allocations: 0.498 MB / 1.145 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9.02e-07/1.093, allocations: 0 / 1.145 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003898/1.094, allocations: 89.11 kB / 1.145 GB, free: 14.32 MB / 0.8731 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.0003174/1.094, allocations: 132.2 kB / 1.145 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003382/1.094, allocations: 111.9 kB / 1.145 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.094, allocations: 0 / 1.145 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001517/1.095, allocations: 60.81 kB / 1.145 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/1.096, allocations: 286.4 kB / 1.145 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/1.097, allocations: 1.06 MB / 1.146 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004297/1.098, allocations: 0.9052 MB / 1.147 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.622e-05/1.098, allocations: 37.33 kB / 1.147 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/1.098, allocations: 0 / 1.147 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.01221/1.11, allocations: 7.795 MB / 1.155 GB, free: 12.21 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches