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.001679/0.001679, allocations: 104.4 kB / 16.35 MB, free: 5.824 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.002814/0.002814, allocations: 192.9 kB / 17.29 MB, free: 5.48 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.435/2.435, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 71.25 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2897, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.006741/0.2965, allocations: 5.221 MB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6476/0.9441, allocations: 151 MB / 1.179 GB, free: 6.438 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000908/0.9451, allocations: 20.06 kB / 1.179 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007292/0.9458, allocations: 224.6 kB / 1.18 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.9477, allocations: 0.6048 MB / 1.18 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.9497, allocations: 0.86 MB / 1.181 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.9513, allocations: 1.438 MB / 1.182 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008459/0.9521, allocations: 0.6102 MB / 1.183 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006663/0.9528, allocations: 0.4964 MB / 1.183 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005954/0.9534, allocations: 0.5238 MB / 1.184 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.9536, allocations: 129.6 kB / 1.184 GB, free: 3.434 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000948/0.9545, allocations: 0.4917 MB / 1.185 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.9548, allocations: 306.8 kB / 1.185 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005033/0.9553, allocations: 0.5935 MB / 1.185 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.9571, allocations: 1.733 MB / 1.187 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.9571, allocations: 1.188 kB / 1.187 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.694e-06/0.9571, allocations: 0 / 1.187 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.718e-05/0.9571, allocations: 0 / 1.187 GB, free: 1.316 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.002619/0.9598, allocations: 1.508 MB / 1.189 GB, free: 132 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.9598, allocations: 9.406 kB / 1.189 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009086/0.9607, allocations: 193.7 kB / 1.189 GB, free: 36 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.962, allocations: 0.7945 MB / 1.19 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.9621, allocations: 64.31 kB / 1.19 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.9622, allocations: 87.88 kB / 1.19 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.9638, allocations: 0.9511 MB / 1.191 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.9638, allocations: 1.562 kB / 1.191 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.976e-05/0.9639, allocations: 37.62 kB / 1.191 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.9639, allocations: 20.62 kB / 1.191 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.9657, allocations: 1.132 MB / 1.192 GB, free: 14.14 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.004303/0.97, allocations: 2.755 MB / 1.195 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.9715, allocations: 0.8436 MB / 1.195 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005695/0.9721, allocations: 325.9 kB / 1.196 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.9723, allocations: 114.6 kB / 1.196 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009088/0.9732, allocations: 0.5079 MB / 1.196 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=82): time 2.615e-06/0.9732, allocations: 0 / 1.196 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=82): time 0.003265/0.9765, allocations: 1.243 MB / 1.197 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.9766, allocations: 193.4 kB / 1.198 GB, free: 10 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00092/0.9776, allocations: 0.6859 MB / 1.198 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.266e-05/0.9777, allocations: 46.47 kB / 1.198 GB, free: 9.562 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/0.978, allocations: 418.8 kB / 1.199 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.9783, allocations: 267.5 kB / 1.199 GB, free: 8.965 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.9785, allocations: 161.6 kB / 1.199 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.9787, allocations: 399.1 kB / 1.2 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005417/0.9792, allocations: 283.7 kB / 1.2 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.9799, allocations: 378.6 kB / 1.2 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.981, allocations: 0.6343 MB / 1.201 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.981, allocations: 0 / 1.201 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001959/0.983, allocations: 0.8856 MB / 1.202 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.983, allocations: 7.125 kB / 1.202 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.983, allocations: 4.469 kB / 1.202 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/0.9836, allocations: 90.95 kB / 1.202 GB, free: 7.285 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006609/0.9843, allocations: 158.6 kB / 1.202 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.9864, allocations: 1.648 MB / 1.204 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008136/0.9873, allocations: 98.83 kB / 1.204 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.262e-05/0.9874, allocations: 39.25 kB / 1.204 GB, free: 5.559 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.0004444/0.9878, allocations: 273.2 kB / 1.204 GB, free: 5.348 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.988, allocations: 92.12 kB / 1.204 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.9905, allocations: 1.103 MB / 1.205 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.9905, allocations: 11.44 kB / 1.205 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9905, allocations: 8 kB / 1.205 GB, free: 4.672 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/0.9905, allocations: 3.984 kB / 1.205 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.9918, allocations: 0.9441 MB / 1.206 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.9918, allocations: 2.688 kB / 1.206 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006078/0.9924, allocations: 148.4 kB / 1.206 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/0.9929, allocations: 74.02 kB / 1.206 GB, free: 3.879 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.9929, allocations: 27.72 kB / 1.206 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001861/0.9948, allocations: 1.678 MB / 1.208 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.9948, allocations: 0 / 1.208 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.9967, allocations: 0.962 MB / 1.209 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000438/0.9972, allocations: 285.3 kB / 1.209 GB, free: 1.465 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.9973, allocations: 21.64 kB / 1.209 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006204/0.9979, allocations: 64.44 kB / 1.209 GB, free: 1.418 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.9981, allocations: 79.95 kB / 1.209 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/0.9982, allocations: 34.36 kB / 1.209 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005651/0.9987, allocations: 490.5 kB / 1.21 GB, free: 1.086 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9987, allocations: 3.938 kB / 1.21 GB, free: 1.082 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008413/0.9996, allocations: 336.3 kB / 1.21 GB, free: 0.9336 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.001298/1.001, allocations: 0.6102 MB / 1.211 GB, free: 0.4961 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001686/1.003, allocations: 0.8556 MB / 1.212 GB, free: 15.63 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.003, allocations: 0 / 1.212 GB, free: 15.63 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009309/1.004, allocations: 0.5433 MB / 1.212 GB, free: 15.07 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/1.005, allocations: 310 kB / 1.212 GB, free: 14.79 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/1.008, allocations: 1.763 MB / 1.214 GB, free: 13 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/1.008, allocations: 1.043 MB / 1.215 GB, free: 11.93 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007568/1.009, allocations: 262.8 kB / 1.215 GB, free: 11.67 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/1.009, allocations: 107.4 kB / 1.215 GB, free: 11.56 MB / 0.92 GB Notification: Performance of SimCode: time 9.22e-07/1.009, allocations: 0 / 1.215 GB, free: 11.56 MB / 0.92 GB Notification: Performance of Templates: time 0.02494/1.034, allocations: 15.81 MB / 1.231 GB, free: 11.94 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 cvode -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