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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 117.5 kB / 16.37 MB, free: 6.004 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.001769/0.001769, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.494/2.494, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 64.92 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3011, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.006585/0.3077, allocations: 5.209 MB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6307/0.9384, allocations: 151 MB / 1.179 GB, free: 6.203 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00079/0.9393, allocations: 15.69 kB / 1.179 GB, free: 6.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008161/0.9401, allocations: 231.1 kB / 1.18 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.9421, allocations: 0.6063 MB / 1.18 GB, free: 5.715 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.9441, allocations: 0.8593 MB / 1.181 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001743/0.9459, allocations: 1.443 MB / 1.182 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009315/0.9468, allocations: 0.607 MB / 1.183 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007953/0.9476, allocations: 0.5021 MB / 1.183 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000844/0.9485, allocations: 0.5242 MB / 1.184 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002168/0.9487, allocations: 120.6 kB / 1.184 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009405/0.9496, allocations: 0.4942 MB / 1.185 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002898/0.9499, allocations: 314.7 kB / 1.185 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005197/0.9505, allocations: 0.5856 MB / 1.185 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.9522, allocations: 1.737 MB / 1.187 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.9522, allocations: 0 / 1.187 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9522, allocations: 4 kB / 1.187 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.9522, allocations: 1.062 kB / 1.187 GB, free: 1.117 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002523/0.9548, allocations: 1.507 MB / 1.189 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.9548, allocations: 10.12 kB / 1.189 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000871/0.9557, allocations: 189.8 kB / 1.189 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.9568, allocations: 0.799 MB / 1.19 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.278e-05/0.9569, allocations: 70.36 kB / 1.19 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.957, allocations: 78.12 kB / 1.19 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.9585, allocations: 0.9433 MB / 1.191 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.9585, allocations: 3.75 kB / 1.191 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-05/0.9586, allocations: 37.62 kB / 1.191 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.9587, allocations: 20.62 kB / 1.191 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.9604, allocations: 1.135 MB / 1.192 GB, free: 13.95 MB / 0.9044 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.003986/0.9644, allocations: 2.759 MB / 1.195 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.9659, allocations: 0.8485 MB / 1.195 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005222/0.9664, allocations: 315.3 kB / 1.196 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.9666, allocations: 116.2 kB / 1.196 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008092/0.9674, allocations: 0.4972 MB / 1.196 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=82): time 2.435e-06/0.9674, allocations: 0 / 1.196 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=82): time 0.003153/0.9706, allocations: 1.248 MB / 1.197 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.592e-05/0.9707, allocations: 192.2 kB / 1.198 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.9718, allocations: 0.6926 MB / 1.198 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.703e-05/0.9719, allocations: 43.05 kB / 1.198 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.9722, allocations: 422.2 kB / 1.199 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.9724, allocations: 267.8 kB / 1.199 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.9727, allocations: 166.4 kB / 1.199 GB, free: 8.672 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.9729, allocations: 398.2 kB / 1.2 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/0.9734, allocations: 279 kB / 1.2 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006389/0.9741, allocations: 384.5 kB / 1.2 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.9752, allocations: 0.6239 MB / 1.201 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9752, allocations: 0 / 1.201 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001932/0.9771, allocations: 0.8955 MB / 1.202 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.9771, allocations: 5.281 kB / 1.202 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9771, allocations: 0 / 1.202 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005853/0.9777, allocations: 85.39 kB / 1.202 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006814/0.9784, allocations: 170.5 kB / 1.202 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.9806, allocations: 1.639 MB / 1.204 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007449/0.9813, allocations: 91.53 kB / 1.204 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/0.9814, allocations: 35.66 kB / 1.204 GB, free: 5.375 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0004195/0.9819, allocations: 284.2 kB / 1.204 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.982, allocations: 89.53 kB / 1.204 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.9844, allocations: 1.099 MB / 1.205 GB, free: 4.492 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.9844, allocations: 14.03 kB / 1.205 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.9844, allocations: 7.219 kB / 1.205 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.9844, allocations: 4.031 kB / 1.205 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009994/0.9854, allocations: 0.9482 MB / 1.206 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.9854, allocations: 0 / 1.206 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005981/0.986, allocations: 156 kB / 1.206 GB, free: 3.723 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000424/0.9864, allocations: 71.88 kB / 1.206 GB, free: 3.684 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.779e-05/0.9865, allocations: 25.83 kB / 1.206 GB, free: 3.668 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.9883, allocations: 1.67 MB / 1.208 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.9884, allocations: 0 / 1.208 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.9903, allocations: 0.9695 MB / 1.209 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/0.9907, allocations: 281.3 kB / 1.209 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.9909, allocations: 25.67 kB / 1.209 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006171/0.9915, allocations: 64.44 kB / 1.209 GB, free: 1.227 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.9916, allocations: 73.2 kB / 1.209 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.991e-05/0.9917, allocations: 38.53 kB / 1.209 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005484/0.9923, allocations: 490.6 kB / 1.21 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9923, allocations: 0 / 1.21 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008098/0.9931, allocations: 334.5 kB / 1.21 GB, free: 0.8008 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001312/0.9944, allocations: 0.6098 MB / 1.211 GB, free: 404 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.9961, allocations: 0.8636 MB / 1.212 GB, free: 15.52 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9961, allocations: 0 / 1.212 GB, free: 15.52 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00094/0.9971, allocations: 0.5315 MB / 1.212 GB, free: 14.98 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.9983, allocations: 332.4 kB / 1.212 GB, free: 14.68 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/1.001, allocations: 1.755 MB / 1.214 GB, free: 12.89 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005653/1.002, allocations: 1.047 MB / 1.215 GB, free: 11.82 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007587/1.002, allocations: 266.8 kB / 1.215 GB, free: 11.55 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/1.003, allocations: 107.4 kB / 1.215 GB, free: 11.45 MB / 0.92 GB Notification: Performance of SimCode: time 3.31e-07/1.003, allocations: 0 / 1.215 GB, free: 11.45 MB / 0.92 GB Notification: Performance of Templates: time 0.02444/1.027, allocations: 15.81 MB / 1.231 GB, free: 11.83 MB / 0.9356 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches