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.001382/0.001382, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001421/0.001421, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.572/1.572, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.896/2.896, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002555/0.002555, allocations: 67.89 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8955/0.8981, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01046/0.9086, allocations: 7.37 MB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1893/1.098, allocations: 149.4 MB / 1.17 GB, free: 5.414 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/1.1, allocations: 23.88 kB / 1.17 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/1.101, allocations: 226.2 kB / 1.17 GB, free: 5.168 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002795/1.104, allocations: 0.716 MB / 1.171 GB, free: 4.453 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002843/1.107, allocations: 0.994 MB / 1.172 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003347/1.11, allocations: 2.17 MB / 1.174 GB, free: 1.285 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/1.112, allocations: 1.114 MB / 1.175 GB, free: 132 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/1.113, allocations: 0.7472 MB / 1.176 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/1.114, allocations: 0.8905 MB / 1.176 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002418/1.114, allocations: 116 kB / 1.177 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/1.116, allocations: 491.5 kB / 1.177 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004665/1.116, allocations: 406.4 kB / 1.177 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0009979/1.117, allocations: 0.917 MB / 1.178 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003145/1.12, allocations: 2.933 MB / 1.181 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.12, allocations: 0 / 1.181 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.82e-07/1.12, allocations: 0 / 1.181 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.246e-05/1.12, allocations: 0 / 1.181 GB, free: 9.629 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.00476/1.125, allocations: 2.239 MB / 1.183 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/1.125, allocations: 16.03 kB / 1.183 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006631/1.132, allocations: 0.8569 MB / 1.184 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/1.134, allocations: 1.094 MB / 1.185 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/1.134, allocations: 119.3 kB / 1.185 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002635/1.134, allocations: 164 kB / 1.186 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005091/1.139, allocations: 2.047 MB / 1.188 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/1.139, allocations: 4 kB / 1.188 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/1.14, allocations: 67.98 kB / 1.188 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/1.14, allocations: 40 kB / 1.188 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006479/1.146, allocations: 2.444 MB / 1.19 GB, free: 392 kB / 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.01085/1.157, allocations: 5.699 MB / 1.196 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004798/1.162, allocations: 1.712 MB / 1.197 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/1.164, allocations: 0.8063 MB / 1.198 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007875/1.165, allocations: 490.7 kB / 1.199 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002841/1.168, allocations: 1.071 MB / 1.2 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=139): time 3.537e-06/1.168, allocations: 0 / 1.2 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139): time 0.008506/1.176, allocations: 2.599 MB / 1.202 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002228/1.176, allocations: 197.2 kB / 1.202 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/1.178, allocations: 0.8821 MB / 1.203 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000188/1.178, allocations: 53.7 kB / 1.203 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007292/1.179, allocations: 0.629 MB / 1.204 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005613/1.18, allocations: 449.5 kB / 1.204 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00061/1.18, allocations: 274.7 kB / 1.205 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002196/1.18, allocations: 357.9 kB / 1.205 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/1.183, allocations: 0.6858 MB / 1.206 GB, free: 92 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002427/1.185, allocations: 0.8319 MB / 1.206 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004357/1.189, allocations: 1.463 MB / 1.208 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.189, allocations: 7.938 kB / 1.208 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005844/1.195, allocations: 1.836 MB / 1.21 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/1.195, allocations: 4 kB / 1.21 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/1.195, allocations: 0 / 1.21 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006909/1.196, allocations: 92.77 kB / 1.21 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/1.198, allocations: 339.5 kB / 1.21 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/1.201, allocations: 1.553 MB / 1.212 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/1.203, allocations: 212.2 kB / 1.212 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002318/1.203, allocations: 63.94 kB / 1.212 GB, free: 9.516 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.001002/1.204, allocations: 388.1 kB / 1.212 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004464/1.204, allocations: 126.4 kB / 1.212 GB, free: 9 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006855/1.211, allocations: 2.218 MB / 1.214 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/1.211, allocations: 16 kB / 1.214 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.211, allocations: 0 / 1.214 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/1.211, allocations: 7.969 kB / 1.214 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/1.214, allocations: 1.788 MB / 1.216 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.214, allocations: 0 / 1.216 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001858/1.216, allocations: 315.5 kB / 1.217 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005839/1.217, allocations: 88.77 kB / 1.217 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/1.217, allocations: 43.95 kB / 1.217 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/1.219, allocations: 1.552 MB / 1.218 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/1.219, allocations: 4.062 kB / 1.218 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005786/1.225, allocations: 1.921 MB / 1.22 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008529/1.226, allocations: 434.9 kB / 1.22 GB, free: 392 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/1.226, allocations: 35.91 kB / 1.22 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/1.228, allocations: 151.8 kB / 1.221 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/1.228, allocations: 113.1 kB / 1.221 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/1.228, allocations: 59.95 kB / 1.221 GB, free: 28 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0013/1.23, allocations: 0.6345 MB / 1.221 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.474e-06/1.23, allocations: 0 / 1.221 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001664/1.231, allocations: 0.5258 MB / 1.222 GB, free: 14.86 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.002227/1.234, allocations: 0.6547 MB / 1.223 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.005441/1.239, allocations: 1.814 MB / 1.224 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.239, allocations: 8.125 kB / 1.224 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002878/1.242, allocations: 1.048 MB / 1.225 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/1.244, allocations: 339.9 kB / 1.226 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007731/1.252, allocations: 3.73 MB / 1.229 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/1.253, allocations: 1.257 MB / 1.231 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002285/1.255, allocations: 402.2 kB / 1.231 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007297/1.256, allocations: 163.3 kB / 1.231 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/1.256, allocations: 0 / 1.231 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of Templates: time 0.6046/1.861, allocations: 23.26 MB / 1.254 GB, free: 229.6 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=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/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