Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 387.1 MB / 399.7 MB, free: 9.445 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 176.9 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.777/1.777, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 90.59 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.472e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3684, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.371/5.74, allocations: 1.732 GB / 2.945 GB, free: 132.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/5.74, allocations: 93.67 kB / 2.945 GB, free: 132.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1387/5.879, allocations: 65.9 MB / 3.009 GB, free: 66.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.964e-06/5.879, allocations: 0 / 3.009 GB, free: 66.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.646e-05/5.879, allocations: 28 kB / 3.009 GB, free: 66.38 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.001853/5.881, allocations: 1.121 MB / 3.01 GB, free: 65.21 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/5.881, allocations: 8.031 kB / 3.01 GB, free: 65.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008337/5.882, allocations: 206.4 kB / 3.011 GB, free: 65 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009708/5.883, allocations: 0.6355 MB / 3.011 GB, free: 64.32 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/5.883, allocations: 58 kB / 3.011 GB, free: 64.26 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.942e-05/5.883, allocations: 79.98 kB / 3.011 GB, free: 64.18 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/5.884, allocations: 0.8366 MB / 3.012 GB, free: 63.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/5.884, allocations: 0 / 3.012 GB, free: 63.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.49e-05/5.884, allocations: 36 kB / 3.012 GB, free: 63.27 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/5.884, allocations: 23.95 kB / 3.012 GB, free: 63.25 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/5.886, allocations: 1.034 MB / 3.013 GB, free: 62.21 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003594/5.889, allocations: 2.5 MB / 3.016 GB, free: 59.64 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009758/5.89, allocations: 0.7124 MB / 3.016 GB, free: 58.91 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/5.891, allocations: 267.2 kB / 3.017 GB, free: 58.65 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/5.891, allocations: 117.9 kB / 3.017 GB, free: 58.52 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005963/5.891, allocations: 421.3 kB / 3.017 GB, free: 58.09 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 3.897e-06/5.891, allocations: 0 / 3.017 GB, free: 58.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001561/5.893, allocations: 0.7109 MB / 3.018 GB, free: 57.36 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/5.893, allocations: 240.1 kB / 3.018 GB, free: 57.07 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007433/5.894, allocations: 0.6248 MB / 3.019 GB, free: 56.45 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.745e-05/5.894, allocations: 41.64 kB / 3.019 GB, free: 56.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/5.894, allocations: 396.4 kB / 3.019 GB, free: 56 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/5.894, allocations: 248.4 kB / 3.019 GB, free: 55.76 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/5.894, allocations: 8 kB / 3.019 GB, free: 55.75 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001118/5.894, allocations: 390.8 kB / 3.02 GB, free: 55.36 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/5.895, allocations: 205.5 kB / 3.02 GB, free: 55.16 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/5.895, allocations: 313.1 kB / 3.02 GB, free: 54.82 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/5.895, allocations: 258 kB / 3.02 GB, free: 54.57 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/5.896, allocations: 0 / 3.02 GB, free: 54.57 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001342/5.897, allocations: 0.7109 MB / 3.021 GB, free: 53.85 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/5.897, allocations: 4 kB / 3.021 GB, free: 53.85 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/5.897, allocations: 0 / 3.021 GB, free: 53.85 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/5.897, allocations: 84.84 kB / 3.021 GB, free: 53.76 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/5.898, allocations: 139.8 kB / 3.021 GB, free: 53.62 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/5.9, allocations: 1.533 MB / 3.023 GB, free: 51.95 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006266/5.9, allocations: 75.44 kB / 3.023 GB, free: 51.88 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.777e-05/5.9, allocations: 23.98 kB / 3.023 GB, free: 51.86 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001694/5.901, allocations: 152.9 kB / 3.023 GB, free: 51.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/5.901, allocations: 82.97 kB / 3.023 GB, free: 51.62 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/5.903, allocations: 0.9698 MB / 3.024 GB, free: 50.63 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/5.903, allocations: 16 kB / 3.024 GB, free: 50.62 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/5.903, allocations: 3.984 kB / 3.024 GB, free: 50.61 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/5.903, allocations: 11.97 kB / 3.024 GB, free: 50.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009895/5.904, allocations: 0.8955 MB / 3.025 GB, free: 49.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/5.904, allocations: 3.938 kB / 3.025 GB, free: 49.65 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005382/5.904, allocations: 151.8 kB / 3.025 GB, free: 49.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/5.905, allocations: 84.78 kB / 3.025 GB, free: 49.42 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.515e-05/5.905, allocations: 19.98 kB / 3.025 GB, free: 49.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/5.906, allocations: 1.559 MB / 3.027 GB, free: 47.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/5.906, allocations: 3.953 kB / 3.027 GB, free: 47.69 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/5.908, allocations: 0.8168 MB / 3.028 GB, free: 46.85 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000424/5.908, allocations: 295.6 kB / 3.028 GB, free: 46.54 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.654e-05/5.908, allocations: 20 kB / 3.028 GB, free: 46.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/5.909, allocations: 71.88 kB / 3.028 GB, free: 46.45 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/5.909, allocations: 60.69 kB / 3.028 GB, free: 46.39 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.698e-05/5.909, allocations: 31.98 kB / 3.028 GB, free: 46.36 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006666/5.91, allocations: 0.4991 MB / 3.028 GB, free: 45.87 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.9e-07/5.91, allocations: 0 / 3.028 GB, free: 45.87 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001364/5.911, allocations: 363.2 kB / 3.029 GB, free: 45.51 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002275/5.913, allocations: 1.079 MB / 3.03 GB, free: 44.59 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001416/5.915, allocations: 0.6981 MB / 3.031 GB, free: 43.88 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/5.915, allocations: 0 / 3.031 GB, free: 43.88 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006645/5.916, allocations: 471 kB / 3.031 GB, free: 43.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/5.917, allocations: 253 kB / 3.031 GB, free: 43.16 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003615/5.92, allocations: 1.383 MB / 3.033 GB, free: 41.75 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/5.921, allocations: 1.039 MB / 3.034 GB, free: 40.68 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009604/5.922, allocations: 258.1 kB / 3.034 GB, free: 40.42 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/5.922, allocations: 91.39 kB / 3.034 GB, free: 40.33 MB / 1.151 GB Notification: Performance of SimCode: time 9.82e-07/5.922, allocations: 0 / 3.034 GB, free: 40.33 MB / 1.151 GB Notification: Performance of Templates: time 0.03584/5.958, allocations: 22.99 MB / 3.056 GB, free: 17.45 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches