Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.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.27/2.27, allocations: 390.5 MB / 398 MB, free: 11.02 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.001486/0.001486, allocations: 175.6 kB / 491.2 MB, free: 1.617 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.759/1.759, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.00108/0.00108, allocations: 91.91 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.356e-05, allocations: 8 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3699, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.417/5.787, allocations: 1.737 GB / 2.95 GB, free: 105.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/5.788, allocations: 93.25 kB / 2.95 GB, free: 105.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1698/5.957, allocations: 76.52 MB / 3.024 GB, free: 33.68 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.597e-06/5.958, allocations: 4 kB / 3.024 GB, free: 33.67 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000159/5.958, allocations: 35.94 kB / 3.024 GB, free: 33.64 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.004559/5.962, allocations: 1.472 MB / 3.026 GB, free: 32.11 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/5.962, allocations: 12.02 kB / 3.026 GB, free: 32.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005247/5.968, allocations: 0.7628 MB / 3.027 GB, free: 31.33 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/5.97, allocations: 0.8573 MB / 3.028 GB, free: 30.43 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.53e-05/5.97, allocations: 44 kB / 3.028 GB, free: 30.39 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004142/5.97, allocations: 76 kB / 3.028 GB, free: 30.31 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003177/5.973, allocations: 1.781 MB / 3.029 GB, free: 28.53 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/5.976, allocations: 1.328 MB / 3.031 GB, free: 27.14 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/5.976, allocations: 0 / 3.031 GB, free: 27.14 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/5.976, allocations: 3.984 kB / 3.031 GB, free: 27.14 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/5.976, allocations: 32 kB / 3.031 GB, free: 27.11 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007145/5.983, allocations: 4.278 MB / 3.035 GB, free: 22.78 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/5.984, allocations: 1.222 MB / 3.036 GB, free: 21.54 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006825/5.985, allocations: 0.5676 MB / 3.037 GB, free: 20.98 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006027/5.986, allocations: 494.9 kB / 3.037 GB, free: 20.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/5.987, allocations: 0.7567 MB / 3.038 GB, free: 19.62 MB / 1.151 GB Notification: Performance of pre-optimization done (n=124): time 2.715e-06/5.987, allocations: 0 / 3.038 GB, free: 19.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=124): time 0.005025/5.992, allocations: 1.82 MB / 3.04 GB, free: 17.79 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/5.992, allocations: 248.6 kB / 3.04 GB, free: 17.49 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008696/5.993, allocations: 0.6212 MB / 3.04 GB, free: 16.86 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/5.993, allocations: 25.7 kB / 3.04 GB, free: 16.83 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004027/5.993, allocations: 0.5237 MB / 3.041 GB, free: 16.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/5.994, allocations: 390.1 kB / 3.041 GB, free: 15.91 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/5.994, allocations: 0 / 3.041 GB, free: 15.91 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.149e-05/5.994, allocations: 349.9 kB / 3.042 GB, free: 15.57 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006595/5.994, allocations: 458.6 kB / 3.042 GB, free: 15.12 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007284/5.995, allocations: 0.5839 MB / 3.043 GB, free: 14.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003383/5.998, allocations: 1.064 MB / 3.044 GB, free: 13.44 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/5.999, allocations: 3.938 kB / 3.044 GB, free: 13.44 MB / 1.151 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.005007/6.004, allocations: 1.843 MB / 3.046 GB, free: 11.58 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/6.004, allocations: 4 kB / 3.046 GB, free: 11.58 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/6.004, allocations: 0 / 3.046 GB, free: 11.58 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/6.004, allocations: 88.86 kB / 3.046 GB, free: 11.49 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/6.006, allocations: 311.6 kB / 3.046 GB, free: 11.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/6.007, allocations: 1.469 MB / 3.047 GB, free: 9.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/6.009, allocations: 155.2 kB / 3.048 GB, free: 9.438 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/6.009, allocations: 55.94 kB / 3.048 GB, free: 9.383 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.pumCon.hys.y,pumCon.hys.y,$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 (132): * Single equations (assignments): 131 * 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.0003134/6.009, allocations: 134.8 kB / 3.048 GB, free: 9.25 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/6.01, allocations: 106.7 kB / 3.048 GB, free: 9.145 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006248/6.016, allocations: 2.219 MB / 3.05 GB, free: 6.91 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/6.016, allocations: 12 kB / 3.05 GB, free: 6.898 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/6.016, allocations: 0 / 3.05 GB, free: 6.898 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/6.016, allocations: 7.969 kB / 3.05 GB, free: 6.891 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00843/6.024, allocations: 3.741 MB / 3.054 GB, free: 3.09 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/6.024, allocations: 0 / 3.054 GB, free: 3.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/6.026, allocations: 303.5 kB / 3.054 GB, free: 2.793 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005322/6.027, allocations: 84.77 kB / 3.054 GB, free: 2.707 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/6.027, allocations: 27.97 kB / 3.054 GB, free: 2.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/6.028, allocations: 1.5 MB / 3.055 GB, free: 1.059 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/6.029, allocations: 0 / 3.055 GB, free: 1.059 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8125/6.841, allocations: 1.99 MB / 3.057 GB, free: 381.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/6.842, allocations: 420.2 kB / 3.058 GB, free: 381.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/6.843, allocations: 3.5 kB / 3.058 GB, free: 381.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/6.844, allocations: 123.1 kB / 3.058 GB, free: 381.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003596/6.845, allocations: 95.7 kB / 3.058 GB, free: 381.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/6.845, allocations: 51.64 kB / 3.058 GB, free: 381.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001269/6.846, allocations: 0.514 MB / 3.059 GB, free: 381.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.846, allocations: 0 / 3.059 GB, free: 381.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003032/6.849, allocations: 460.8 kB / 3.059 GB, free: 381.7 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: 5 ($whenCondition2,$whenCondition1,pumCon.hys.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 3 (weaDat.conTim.tNext,weaDat.conTimMin.tNext,pumCon.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 135 * 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.003493/6.853, allocations: 1.152 MB / 3.06 GB, free: 381.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003996/6.857, allocations: 1.296 MB / 3.061 GB, free: 381.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/6.857, allocations: 5.094 kB / 3.061 GB, free: 381.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001926/6.859, allocations: 0.7867 MB / 3.062 GB, free: 381.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/6.86, allocations: 245 kB / 3.062 GB, free: 381.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005999/6.866, allocations: 1.982 MB / 3.064 GB, free: 380.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001434/6.868, allocations: 1.19 MB / 3.066 GB, free: 380.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002737/6.871, allocations: 364.1 kB / 3.066 GB, free: 380.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005985/6.871, allocations: 148.5 kB / 3.066 GB, free: 380.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.583e-06/6.871, allocations: 0 / 3.066 GB, free: 380.1 MB / 1.151 GB Notification: Performance of Templates: time 0.05355/6.925, allocations: 22.14 MB / 3.088 GB, free: 378.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches