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.001584/0.001584, allocations: 106.3 kB / 16.27 MB, free: 6.418 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.001491/0.001491, allocations: 189.6 kB / 17.2 MB, free: 5.949 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.587/2.587, allocations: 437.1 MB / 0.7111 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.001961, allocations: 65.5 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3129, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01032/0.3233, allocations: 7.413 MB / 1.025 GB, free: 3.16 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6549/0.9782, allocations: 151.7 MB / 1.173 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.9794, allocations: 22.72 kB / 1.173 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008689/0.9804, allocations: 305.4 kB / 1.174 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.9827, allocations: 0.8112 MB / 1.175 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.9851, allocations: 1.131 MB / 1.176 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002602/0.9877, allocations: 2.335 MB / 1.178 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.9893, allocations: 1.159 MB / 1.179 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001271/0.9906, allocations: 0.8949 MB / 1.18 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.9918, allocations: 0.9786 MB / 1.181 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003052/0.9921, allocations: 265.5 kB / 1.181 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.9932, allocations: 0.6165 MB / 1.182 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005273/0.9937, allocations: 0.5456 MB / 1.182 GB, free: 8.645 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.9948, allocations: 1.059 MB / 1.183 GB, free: 7.848 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003302/0.9981, allocations: 3.054 MB / 1.186 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.319e-06/0.9981, allocations: 0 / 1.186 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9981, allocations: 2.875 kB / 1.186 GB, free: 5.543 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.933e-05/0.9982, allocations: 0 / 1.186 GB, free: 5.543 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004609/1.003, allocations: 2.236 MB / 1.188 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/1.003, allocations: 8.609 kB / 1.188 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006166/1.009, allocations: 0.8579 MB / 1.189 GB, free: 3.48 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/1.011, allocations: 1.098 MB / 1.19 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/1.011, allocations: 121.6 kB / 1.19 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/1.011, allocations: 158.1 kB / 1.191 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004498/1.016, allocations: 2.053 MB / 1.193 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/1.016, allocations: 0 / 1.193 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/1.016, allocations: 71.94 kB / 1.193 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/1.016, allocations: 41.19 kB / 1.193 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005962/1.022, allocations: 2.438 MB / 1.195 GB, free: 15.98 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.01025/1.032, allocations: 5.714 MB / 1.201 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004443/1.037, allocations: 1.722 MB / 1.202 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/1.039, allocations: 0.7995 MB / 1.203 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007551/1.04, allocations: 492.5 kB / 1.204 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002603/1.042, allocations: 1.073 MB / 1.205 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=139): time 2.965e-06/1.042, allocations: 0 / 1.205 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of matching and sorting (n=139): time 0.008109/1.05, allocations: 2.596 MB / 1.207 GB, free: 7.145 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/1.051, allocations: 201.2 kB / 1.207 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/1.052, allocations: 0.882 MB / 1.208 GB, free: 6 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001955/1.052, allocations: 57.7 kB / 1.208 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000624/1.053, allocations: 0.6329 MB / 1.209 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004973/1.053, allocations: 445.5 kB / 1.209 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005395/1.054, allocations: 266.8 kB / 1.21 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001854/1.054, allocations: 357.9 kB / 1.21 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/1.056, allocations: 0.6897 MB / 1.211 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/1.058, allocations: 0.8319 MB / 1.211 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004242/1.063, allocations: 1.463 MB / 1.213 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.063, allocations: 0 / 1.213 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005588/1.068, allocations: 1.836 MB / 1.215 GB, free: 15.36 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/1.068, allocations: 7.562 kB / 1.215 GB, free: 15.35 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.068, allocations: 0 / 1.215 GB, free: 15.35 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/1.069, allocations: 88.84 kB / 1.215 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/1.071, allocations: 347.5 kB / 1.215 GB, free: 14.92 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/1.073, allocations: 1.651 MB / 1.217 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/1.075, allocations: 210.6 kB / 1.217 GB, free: 12.92 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/1.075, allocations: 59.94 kB / 1.217 GB, free: 12.86 MB / 0.92 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.0008642/1.076, allocations: 396.1 kB / 1.217 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003806/1.077, allocations: 126.5 kB / 1.217 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006643/1.083, allocations: 2.214 MB / 1.22 GB, free: 10.11 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/1.083, allocations: 12 kB / 1.22 GB, free: 10.1 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.083, allocations: 0 / 1.22 GB, free: 10.1 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/1.083, allocations: 15.91 kB / 1.22 GB, free: 10.08 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00264/1.086, allocations: 1.765 MB / 1.221 GB, free: 8.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/1.086, allocations: 3.938 kB / 1.221 GB, free: 8.266 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/1.088, allocations: 319.5 kB / 1.222 GB, free: 7.953 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004843/1.088, allocations: 80.77 kB / 1.222 GB, free: 7.871 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/1.089, allocations: 47.95 kB / 1.222 GB, free: 7.824 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/1.091, allocations: 1.67 MB / 1.223 GB, free: 6.008 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.091, allocations: 4.062 kB / 1.223 GB, free: 6.004 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005949/1.097, allocations: 1.921 MB / 1.225 GB, free: 4.062 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009346/1.098, allocations: 423 kB / 1.226 GB, free: 3.629 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004201/1.098, allocations: 43.84 kB / 1.226 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/1.1, allocations: 135.8 kB / 1.226 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002712/1.1, allocations: 121.1 kB / 1.226 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/1.1, allocations: 63.89 kB / 1.226 GB, free: 3.27 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001081/1.101, allocations: 0.6422 MB / 1.227 GB, free: 2.617 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.9e-07/1.101, allocations: 0 / 1.227 GB, free: 2.617 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001547/1.103, allocations: 0.5104 MB / 1.227 GB, free: 2.105 MB / 0.92 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.00212/1.105, allocations: 0.6535 MB / 1.228 GB, free: 1.633 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.007504/1.113, allocations: 2.165 MB / 1.23 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.113, allocations: 0 / 1.23 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002902/1.116, allocations: 1.056 MB / 1.231 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/1.118, allocations: 370 kB / 1.231 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006995/1.125, allocations: 3.052 MB / 1.234 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/1.126, allocations: 1.257 MB / 1.236 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009971/1.127, allocations: 195.3 kB / 1.236 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of SimCode: time 1.041e-06/1.127, allocations: 0 / 1.236 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of Templates: time 0.04793/1.175, allocations: 32.39 MB / 1.267 GB, free: 9.176 MB / 0.9669 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=400 -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