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.372/2.372, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001292/0.001293, allocations: 180.5 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.001012/0.001013, allocations: 99.59 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.844e-05/3.847e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4103, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.361/5.772, allocations: 1.738 GB / 2.957 GB, free: 75.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/5.772, allocations: 87.94 kB / 2.957 GB, free: 75.71 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.026/6.797, allocations: 77.45 MB / 3.032 GB, free: 394.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.274e-06/6.797, allocations: 0 / 3.032 GB, free: 394.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001078/6.798, allocations: 33.84 kB / 3.032 GB, free: 394.7 MB / 1.167 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.003389/6.801, allocations: 1.469 MB / 3.034 GB, free: 394.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/6.801, allocations: 10.02 kB / 3.034 GB, free: 394.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005624/6.807, allocations: 0.7696 MB / 3.035 GB, free: 394 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/6.809, allocations: 0.8531 MB / 3.036 GB, free: 393.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/6.809, allocations: 102 kB / 3.036 GB, free: 393.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/6.809, allocations: 125.4 kB / 3.036 GB, free: 393.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003354/6.813, allocations: 1.508 MB / 3.037 GB, free: 393.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/6.813, allocations: 0.9688 kB / 3.037 GB, free: 393.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/6.813, allocations: 58.16 kB / 3.037 GB, free: 393.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/6.813, allocations: 31.97 kB / 3.037 GB, free: 393.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003763/6.817, allocations: 1.848 MB / 3.039 GB, free: 393.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/6.828, allocations: 4.514 MB / 3.043 GB, free: 392.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/6.83, allocations: 1.283 MB / 3.045 GB, free: 392.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/6.831, allocations: 0.6087 MB / 3.045 GB, free: 392.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007464/6.832, allocations: 488 kB / 3.046 GB, free: 392.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/6.834, allocations: 0.796 MB / 3.047 GB, free: 392.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=124): time 2.825e-06/6.834, allocations: 0 / 3.047 GB, free: 392.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=124): time 0.003461/6.837, allocations: 1.321 MB / 3.048 GB, free: 392 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/6.837, allocations: 248.5 kB / 3.048 GB, free: 391.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/6.839, allocations: 0.7364 MB / 3.049 GB, free: 391.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/6.839, allocations: 50.03 kB / 3.049 GB, free: 391.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000484/6.839, allocations: 0.5108 MB / 3.049 GB, free: 391.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003904/6.84, allocations: 411.7 kB / 3.05 GB, free: 391.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.868e-05/6.84, allocations: 23.72 kB / 3.05 GB, free: 391.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000106/6.84, allocations: 346.2 kB / 3.05 GB, free: 390.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009495/6.841, allocations: 476.8 kB / 3.051 GB, free: 390.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/6.842, allocations: 0.6154 MB / 3.051 GB, free: 390.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/6.843, allocations: 0.5214 MB / 3.052 GB, free: 390.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/6.843, allocations: 7.5 kB / 3.052 GB, free: 390.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003296/6.846, allocations: 1.351 MB / 3.053 GB, free: 390.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/6.846, allocations: 11.33 kB / 3.053 GB, free: 390.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/6.846, allocations: 3.594 kB / 3.053 GB, free: 390.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006468/6.847, allocations: 84.8 kB / 3.053 GB, free: 390.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/6.849, allocations: 312.4 kB / 3.053 GB, free: 390.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/6.851, allocations: 1.525 MB / 3.055 GB, free: 389.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/6.853, allocations: 190.9 kB / 3.055 GB, free: 389.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/6.853, allocations: 52.22 kB / 3.055 GB, free: 389.2 MB / 1.167 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.0003435/6.853, allocations: 168 kB / 3.055 GB, free: 389 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/6.854, allocations: 116.5 kB / 3.055 GB, free: 389 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004447/6.858, allocations: 1.765 MB / 3.057 GB, free: 388.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/6.858, allocations: 13.53 kB / 3.057 GB, free: 388.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/6.858, allocations: 1 kB / 3.057 GB, free: 388.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/6.858, allocations: 7.078 kB / 3.057 GB, free: 388.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006735/6.865, allocations: 3.431 MB / 3.06 GB, free: 387.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/6.865, allocations: 1.25 kB / 3.06 GB, free: 387.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/6.867, allocations: 304.7 kB / 3.061 GB, free: 387.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/6.867, allocations: 85.44 kB / 3.061 GB, free: 387.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/6.867, allocations: 43.48 kB / 3.061 GB, free: 387.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/6.869, allocations: 1.565 MB / 3.062 GB, free: 386.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/6.869, allocations: 0 / 3.062 GB, free: 386.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003296/6.872, allocations: 1.507 MB / 3.064 GB, free: 385.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008905/6.873, allocations: 435 kB / 3.064 GB, free: 385.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/6.874, allocations: 26.66 kB / 3.064 GB, free: 385.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/6.875, allocations: 148.5 kB / 3.064 GB, free: 385.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/6.875, allocations: 95.36 kB / 3.065 GB, free: 385.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/6.875, allocations: 54.41 kB / 3.065 GB, free: 385.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001101/6.877, allocations: 0.609 MB / 3.065 GB, free: 385.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.41e-07/6.877, allocations: 0 / 3.065 GB, free: 385.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002063/6.879, allocations: 0.5013 MB / 3.066 GB, free: 384.9 MB / 1.167 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.002434/6.881, allocations: 1.103 MB / 3.067 GB, free: 384.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003006/6.884, allocations: 1.353 MB / 3.068 GB, free: 384.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/6.884, allocations: 0 / 3.068 GB, free: 384.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001566/6.886, allocations: 0.8352 MB / 3.069 GB, free: 383.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/6.887, allocations: 272.4 kB / 3.069 GB, free: 383.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006134/6.893, allocations: 2.044 MB / 3.071 GB, free: 382.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/6.895, allocations: 1.19 MB / 3.072 GB, free: 382.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0022/6.897, allocations: 378 kB / 3.073 GB, free: 382 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005962/6.898, allocations: 147.5 kB / 3.073 GB, free: 381.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.152e-06/6.898, allocations: 0 / 3.073 GB, free: 381.9 MB / 1.167 GB Notification: Performance of Templates: time 0.05475/6.952, allocations: 29.33 MB / 3.101 GB, free: 380 MB / 1.167 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