Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002226/0.002226, allocations: 191 kB / 16.25 MB, free: 6.637 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.965/2.965, allocations: 437 MB / 0.71 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 71.88 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7504/0.7518, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008914/0.7608, allocations: 7.362 MB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1688/0.9296, allocations: 149.5 MB / 1.17 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.9311, allocations: 19.88 kB / 1.17 GB, free: 5.203 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.9327, allocations: 230.2 kB / 1.17 GB, free: 4.977 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002986/0.9357, allocations: 0.7227 MB / 1.171 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.9386, allocations: 1.018 MB / 1.172 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003568/0.9422, allocations: 2.338 MB / 1.174 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.944, allocations: 1.16 MB / 1.175 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.9454, allocations: 0.8994 MB / 1.176 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.9468, allocations: 0.9804 MB / 1.177 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004942/0.9473, allocations: 264 kB / 1.177 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.9485, allocations: 0.6167 MB / 1.178 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000451/0.949, allocations: 0.5453 MB / 1.179 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009239/0.9499, allocations: 1.065 MB / 1.18 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.9529, allocations: 3.05 MB / 1.183 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.9529, allocations: 11.94 kB / 1.183 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9529, allocations: 0 / 1.183 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.551e-05/0.9529, allocations: 4 kB / 1.183 GB, free: 8.238 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004233/0.9572, allocations: 2.235 MB / 1.185 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.9572, allocations: 8.031 kB / 1.185 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006068/0.9633, allocations: 0.8608 MB / 1.186 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.9649, allocations: 1.086 MB / 1.187 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.9651, allocations: 123.3 kB / 1.187 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002454/0.9653, allocations: 156 kB / 1.187 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004479/0.9698, allocations: 2.055 MB / 1.189 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.9698, allocations: 0 / 1.189 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/0.97, allocations: 71.94 kB / 1.189 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.9701, allocations: 36 kB / 1.189 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005924/0.976, allocations: 2.456 MB / 1.191 GB, free: 15 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009597/0.9856, allocations: 5.699 MB / 1.197 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004167/0.9898, allocations: 1.716 MB / 1.199 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.9917, allocations: 0.7934 MB / 1.199 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006951/0.9925, allocations: 495.1 kB / 1.2 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002523/0.995, allocations: 1.075 MB / 1.201 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=139): time 3.987e-06/0.995, allocations: 0 / 1.201 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139): time 0.007587/1.003, allocations: 2.595 MB / 1.204 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/1.003, allocations: 205.2 kB / 1.204 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/1.004, allocations: 0.8782 MB / 1.205 GB, free: 1.164 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001406/1.004, allocations: 61.62 kB / 1.205 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005606/1.005, allocations: 0.6251 MB / 1.205 GB, free: 472 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/1.005, allocations: 453.5 kB / 1.206 GB, free: 12 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005426/1.006, allocations: 262.8 kB / 1.206 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002227/1.006, allocations: 357.9 kB / 1.206 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/1.008, allocations: 0.6858 MB / 1.207 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/1.01, allocations: 0.8281 MB / 1.208 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003938/1.014, allocations: 1.467 MB / 1.209 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.014, allocations: 0 / 1.209 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00517/1.019, allocations: 1.836 MB / 1.211 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/1.019, allocations: 4 kB / 1.211 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/1.019, allocations: 7.938 kB / 1.211 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/1.02, allocations: 84.78 kB / 1.211 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/1.022, allocations: 347.5 kB / 1.211 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/1.024, allocations: 1.669 MB / 1.213 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/1.026, allocations: 212.3 kB / 1.213 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/1.026, allocations: 63.94 kB / 1.213 GB, free: 8.008 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008095/1.027, allocations: 392.6 kB / 1.214 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/1.027, allocations: 122.5 kB / 1.214 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006032/1.033, allocations: 2.214 MB / 1.216 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/1.034, allocations: 16 kB / 1.216 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.034, allocations: 7.922 kB / 1.216 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/1.034, allocations: 7.984 kB / 1.216 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/1.036, allocations: 1.784 MB / 1.218 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/1.036, allocations: 0 / 1.218 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/1.038, allocations: 315.5 kB / 1.218 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005078/1.038, allocations: 76.78 kB / 1.218 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/1.038, allocations: 51.94 kB / 1.218 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001953/1.04, allocations: 1.666 MB / 1.22 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.04, allocations: 0 / 1.22 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005051/1.045, allocations: 1.913 MB / 1.222 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007093/1.046, allocations: 435 kB / 1.222 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/1.046, allocations: 39.89 kB / 1.222 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/1.048, allocations: 147.8 kB / 1.222 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/1.048, allocations: 121.1 kB / 1.222 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/1.048, allocations: 59.95 kB / 1.222 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008567/1.049, allocations: 0.6384 MB / 1.223 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.7e-07/1.049, allocations: 4 kB / 1.223 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00131/1.05, allocations: 0.5219 MB / 1.224 GB, free: 13.23 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/1.052, allocations: 0.6511 MB / 1.224 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006786/1.059, allocations: 2.161 MB / 1.226 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.059, allocations: 3.938 kB / 1.226 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002544/1.061, allocations: 1.053 MB / 1.227 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/1.063, allocations: 372.8 kB / 1.228 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006416/1.069, allocations: 3.718 MB / 1.231 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008065/1.07, allocations: 1.261 MB / 1.233 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001814/1.072, allocations: 394.3 kB / 1.233 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005772/1.072, allocations: 171.3 kB / 1.233 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of SimCode: time 9.12e-07/1.072, allocations: 0 / 1.233 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.5829/1.655, allocations: 24.11 MB / 1.257 GB, free: 228.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches