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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001209/0.001209, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001207, allocations: 200.5 kB / 16.79 MB, free: 6.809 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.372/1.372, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.522/2.522, allocations: 437 MB / 0.7106 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 59.91 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7011/0.7026, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009462/0.7121, allocations: 7.378 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1682/0.8804, allocations: 149.4 MB / 1.17 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.8821, allocations: 23.88 kB / 1.17 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.8836, allocations: 238.2 kB / 1.171 GB, free: 5.172 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.8867, allocations: 0.6952 MB / 1.171 GB, free: 4.477 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.8894, allocations: 1.003 MB / 1.172 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003052/0.8925, allocations: 2.166 MB / 1.174 GB, free: 1.305 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/0.8944, allocations: 1.122 MB / 1.175 GB, free: 144 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.8957, allocations: 0.7393 MB / 1.176 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.8972, allocations: 0.8905 MB / 1.177 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004607/0.8976, allocations: 120 kB / 1.177 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.8989, allocations: 487.6 kB / 1.178 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004062/0.8993, allocations: 406.4 kB / 1.178 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009969/0.9003, allocations: 0.9249 MB / 1.179 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002224/0.9025, allocations: 2.385 MB / 1.181 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.9026, allocations: 0 / 1.181 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9026, allocations: 0 / 1.181 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.936e-05/0.9026, allocations: 0 / 1.181 GB, free: 10.19 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.004744/0.9074, allocations: 2.243 MB / 1.183 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.9074, allocations: 8.031 kB / 1.183 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006146/0.9136, allocations: 0.8647 MB / 1.184 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.9156, allocations: 1.086 MB / 1.185 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.9157, allocations: 123.3 kB / 1.185 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002487/0.916, allocations: 160 kB / 1.186 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004836/0.9208, allocations: 2.051 MB / 1.188 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.9209, allocations: 4 kB / 1.188 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.9211, allocations: 68 kB / 1.188 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/0.9211, allocations: 40 kB / 1.188 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006034/0.9271, allocations: 2.448 MB / 1.19 GB, free: 0.9414 MB / 0.9356 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.01051/0.9377, allocations: 5.691 MB / 1.196 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004391/0.9421, allocations: 1.712 MB / 1.197 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/0.9442, allocations: 0.8012 MB / 1.198 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007226/0.9449, allocations: 491.1 kB / 1.199 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002621/0.9475, allocations: 1.081 MB / 1.2 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=139): time 4.719e-06/0.9475, allocations: 0 / 1.2 GB, free: 6.879 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139): time 0.007855/0.9554, allocations: 2.595 MB / 1.202 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.9556, allocations: 201.2 kB / 1.202 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.957, allocations: 0.8782 MB / 1.203 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002239/0.9572, allocations: 53.7 kB / 1.203 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005771/0.9578, allocations: 0.625 MB / 1.204 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004852/0.9583, allocations: 453.5 kB / 1.204 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005198/0.9588, allocations: 266.8 kB / 1.205 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.959, allocations: 361.8 kB / 1.205 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/0.961, allocations: 0.6897 MB / 1.206 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/0.9632, allocations: 0.8242 MB / 1.206 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004045/0.9673, allocations: 1.467 MB / 1.208 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.9673, allocations: 0 / 1.208 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005532/0.9729, allocations: 1.836 MB / 1.21 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.973, allocations: 8 kB / 1.21 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.973, allocations: 0 / 1.21 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000687/0.9737, allocations: 88.72 kB / 1.21 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.9757, allocations: 339.5 kB / 1.21 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002663/0.9784, allocations: 1.563 MB / 1.212 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/0.9807, allocations: 208.1 kB / 1.212 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.981, allocations: 59.94 kB / 1.212 GB, free: 10.09 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.001057/0.982, allocations: 396.6 kB / 1.212 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/0.9824, allocations: 126.4 kB / 1.212 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006302/0.9887, allocations: 2.222 MB / 1.215 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.9888, allocations: 16 kB / 1.215 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.9888, allocations: 0 / 1.215 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.9888, allocations: 7.969 kB / 1.215 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/0.9917, allocations: 1.78 MB / 1.216 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.9917, allocations: 4 kB / 1.216 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/0.9935, allocations: 311.6 kB / 1.217 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005722/0.9941, allocations: 84.78 kB / 1.217 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/0.9942, allocations: 47.94 kB / 1.217 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.9964, allocations: 1.555 MB / 1.218 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.9964, allocations: 0 / 1.218 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005802/1.002, allocations: 1.921 MB / 1.22 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.003, allocations: 435.1 kB / 1.221 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002972/1.004, allocations: 39.89 kB / 1.221 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/1.005, allocations: 151.8 kB / 1.221 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/1.006, allocations: 121.1 kB / 1.221 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/1.006, allocations: 63.94 kB / 1.221 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001179/1.007, allocations: 0.6345 MB / 1.222 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/1.007, allocations: 0 / 1.222 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001882/1.009, allocations: 0.518 MB / 1.222 GB, free: 15.42 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.001895/1.011, allocations: 0.6533 MB / 1.223 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005588/1.016, allocations: 1.81 MB / 1.224 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.016, allocations: 0 / 1.224 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002645/1.019, allocations: 1.06 MB / 1.225 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/1.021, allocations: 353.3 kB / 1.226 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006585/1.027, allocations: 3.765 MB / 1.229 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009253/1.028, allocations: 1.261 MB / 1.231 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009211/1.029, allocations: 187.3 kB / 1.231 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/1.029, allocations: 0 / 1.231 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of Templates: time 0.5572/1.587, allocations: 32.39 MB / 1.263 GB, free: 228.3 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/jenkins1/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