Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.28/2.28, allocations: 390.5 MB / 398 MB, free: 10.97 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.001114/0.001114, allocations: 179.8 kB / 491.2 MB, free: 1.59 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.496/1.496, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009325/0.0009326, allocations: 91.84 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.791e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3644, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.381/5.745, allocations: 1.733 GB / 2.945 GB, free: 106.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/5.745, allocations: 100.2 kB / 2.945 GB, free: 106.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1456/5.891, allocations: 65.46 MB / 3.009 GB, free: 45.75 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.585e-06/5.891, allocations: 0 / 3.009 GB, free: 45.75 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001422/5.891, allocations: 24 kB / 3.009 GB, free: 45.73 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.002733/5.894, allocations: 1.122 MB / 3.01 GB, free: 44.55 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/5.894, allocations: 8.031 kB / 3.01 GB, free: 44.55 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/5.895, allocations: 198.5 kB / 3.01 GB, free: 44.35 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/5.897, allocations: 0.6316 MB / 3.011 GB, free: 43.68 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.759e-05/5.897, allocations: 24 kB / 3.011 GB, free: 43.66 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/5.897, allocations: 51.94 kB / 3.011 GB, free: 43.61 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001477/5.898, allocations: 0.9835 MB / 3.012 GB, free: 42.62 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/5.9, allocations: 0.7311 MB / 3.013 GB, free: 41.85 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/5.9, allocations: 3.953 kB / 3.013 GB, free: 41.85 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.283e-05/5.9, allocations: 8 kB / 3.013 GB, free: 41.84 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/5.9, allocations: 20 kB / 3.013 GB, free: 41.82 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004028/5.904, allocations: 2.341 MB / 3.015 GB, free: 39.42 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008986/5.905, allocations: 0.6725 MB / 3.016 GB, free: 38.74 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/5.905, allocations: 247.2 kB / 3.016 GB, free: 38.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/5.905, allocations: 113.9 kB / 3.016 GB, free: 38.37 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000567/5.906, allocations: 395.8 kB / 3.016 GB, free: 37.96 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 3.958e-06/5.906, allocations: 0 / 3.016 GB, free: 37.96 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001675/5.907, allocations: 0.6758 MB / 3.017 GB, free: 37.27 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/5.908, allocations: 248.1 kB / 3.017 GB, free: 36.98 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000805/5.908, allocations: 0.5386 MB / 3.018 GB, free: 36.43 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.864e-05/5.908, allocations: 29.7 kB / 3.018 GB, free: 36.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/5.909, allocations: 404.2 kB / 3.018 GB, free: 36 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/5.909, allocations: 232.5 kB / 3.018 GB, free: 35.77 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/5.909, allocations: 0 / 3.018 GB, free: 35.77 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001224/5.909, allocations: 382.8 kB / 3.019 GB, free: 35.38 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/5.909, allocations: 185.5 kB / 3.019 GB, free: 35.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/5.91, allocations: 303.5 kB / 3.019 GB, free: 34.88 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/5.91, allocations: 256.4 kB / 3.019 GB, free: 34.62 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/5.91, allocations: 0 / 3.019 GB, free: 34.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001454/5.912, allocations: 0.6758 MB / 3.02 GB, free: 33.94 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/5.912, allocations: 4 kB / 3.02 GB, free: 33.93 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/5.912, allocations: 0 / 3.02 GB, free: 33.93 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005894/5.912, allocations: 84.83 kB / 3.02 GB, free: 33.85 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/5.913, allocations: 143.8 kB / 3.02 GB, free: 33.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/5.914, allocations: 1.465 MB / 3.022 GB, free: 32.12 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/5.915, allocations: 71.48 kB / 3.022 GB, free: 32.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/5.915, allocations: 27.98 kB / 3.022 GB, free: 32.02 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.0001848/5.915, allocations: 118.6 kB / 3.022 GB, free: 31.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/5.916, allocations: 87.05 kB / 3.022 GB, free: 31.81 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/5.918, allocations: 0.9189 MB / 3.023 GB, free: 30.88 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/5.918, allocations: 15.98 kB / 3.023 GB, free: 30.86 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/5.918, allocations: 0 / 3.023 GB, free: 30.86 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/5.918, allocations: 3.984 kB / 3.023 GB, free: 30.86 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/5.919, allocations: 0.7712 MB / 3.024 GB, free: 30.05 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/5.919, allocations: 0 / 3.024 GB, free: 30.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005705/5.919, allocations: 143.8 kB / 3.024 GB, free: 29.91 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004853/5.92, allocations: 84.77 kB / 3.024 GB, free: 29.82 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.264e-05/5.92, allocations: 15.98 kB / 3.024 GB, free: 29.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/5.921, allocations: 1.5 MB / 3.025 GB, free: 28.19 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/5.921, allocations: 0 / 3.025 GB, free: 28.19 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/5.923, allocations: 0.7854 MB / 3.026 GB, free: 27.38 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/5.923, allocations: 275.8 kB / 3.026 GB, free: 27.09 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/5.923, allocations: 3.984 kB / 3.026 GB, free: 27.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005765/5.924, allocations: 56.02 kB / 3.026 GB, free: 27.03 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/5.924, allocations: 68.64 kB / 3.027 GB, free: 26.96 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/5.924, allocations: 27.98 kB / 3.027 GB, free: 26.94 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005748/5.925, allocations: 439.1 kB / 3.027 GB, free: 26.51 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.41e-07/5.925, allocations: 4 kB / 3.027 GB, free: 26.51 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001231/5.926, allocations: 339 kB / 3.027 GB, free: 26.18 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.002425/5.928, allocations: 1.131 MB / 3.028 GB, free: 25.14 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001204/5.93, allocations: 0.6512 MB / 3.029 GB, free: 24.48 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/5.93, allocations: 0 / 3.029 GB, free: 24.48 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006338/5.93, allocations: 452.7 kB / 3.029 GB, free: 24.03 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/5.932, allocations: 242 kB / 3.03 GB, free: 23.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/5.935, allocations: 1.336 MB / 3.031 GB, free: 22.43 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/5.936, allocations: 1.035 MB / 3.032 GB, free: 21.37 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009402/5.937, allocations: 253.8 kB / 3.032 GB, free: 21.12 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/5.937, allocations: 95.39 kB / 3.032 GB, free: 21.03 MB / 1.151 GB Notification: Performance of SimCode: time 1.152e-06/5.937, allocations: 0 / 3.032 GB, free: 21.03 MB / 1.151 GB Notification: Performance of Templates: time 0.02787/5.965, allocations: 16.09 MB / 3.048 GB, free: 5.07 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","../files/Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches