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.00846/0.00846, allocations: 99.84 kB / 15.73 MB, free: 6.066 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.001659/0.00166, allocations: 189.3 kB / 16.67 MB, free: 5.977 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.503/1.503, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.498/2.498, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 59.91 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9365/0.9379, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009357/0.9473, allocations: 7.414 MB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1839/1.131, allocations: 151.8 MB / 1.322 GB, free: 4.086 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001514/1.133, allocations: 19.88 kB / 1.322 GB, free: 4.066 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009635/1.134, allocations: 305.1 kB / 1.322 GB, free: 3.766 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002609/1.136, allocations: 0.8119 MB / 1.323 GB, free: 2.953 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002453/1.139, allocations: 1.139 MB / 1.324 GB, free: 1.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002818/1.142, allocations: 2.357 MB / 1.327 GB, free: 15.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/1.143, allocations: 1.164 MB / 1.328 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/1.145, allocations: 0.9112 MB / 1.329 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/1.146, allocations: 0.9804 MB / 1.33 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003099/1.146, allocations: 268 kB / 1.33 GB, free: 12.08 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/1.147, allocations: 0.6441 MB / 1.33 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004619/1.148, allocations: 0.5414 MB / 1.331 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000915/1.149, allocations: 1.062 MB / 1.332 GB, free: 9.824 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003373/1.152, allocations: 3.122 MB / 1.335 GB, free: 6.691 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.152, allocations: 4 kB / 1.335 GB, free: 6.688 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.914e-06/1.152, allocations: 0 / 1.335 GB, free: 6.688 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.445e-05/1.152, allocations: 4 kB / 1.335 GB, free: 6.684 MB / 1.061 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.004432/1.156, allocations: 2.289 MB / 1.337 GB, free: 4.34 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/1.157, allocations: 8.922 kB / 1.337 GB, free: 4.332 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005502/1.162, allocations: 0.8697 MB / 1.338 GB, free: 3.461 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/1.164, allocations: 1.118 MB / 1.339 GB, free: 2.297 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/1.164, allocations: 119.3 kB / 1.339 GB, free: 2.18 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/1.164, allocations: 164 kB / 1.339 GB, free: 2.02 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004479/1.169, allocations: 2.047 MB / 1.341 GB, free: 15.92 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/1.169, allocations: 4 kB / 1.341 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/1.169, allocations: 67.98 kB / 1.342 GB, free: 15.85 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/1.169, allocations: 43.94 kB / 1.342 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005969/1.175, allocations: 2.44 MB / 1.344 GB, free: 13.36 MB / 1.076 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.009763/1.185, allocations: 5.662 MB / 1.35 GB, free: 7.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004286/1.189, allocations: 1.712 MB / 1.351 GB, free: 5.805 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/1.191, allocations: 0.809 MB / 1.352 GB, free: 4.992 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006829/1.192, allocations: 487.1 kB / 1.352 GB, free: 4.422 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002455/1.194, allocations: 1.072 MB / 1.353 GB, free: 3.332 MB / 1.076 GB Notification: Performance of pre-optimization done (n=139): time 2.966e-06/1.194, allocations: 0 / 1.353 GB, free: 3.332 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.007672/1.202, allocations: 2.607 MB / 1.356 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/1.202, allocations: 193.2 kB / 1.356 GB, free: 476 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/1.204, allocations: 0.886 MB / 1.357 GB, free: 15.55 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/1.204, allocations: 57.7 kB / 1.357 GB, free: 15.49 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005357/1.204, allocations: 0.6421 MB / 1.358 GB, free: 14.84 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003962/1.205, allocations: 472 kB / 1.358 GB, free: 14.38 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005535/1.205, allocations: 266.8 kB / 1.358 GB, free: 14.11 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.205, allocations: 361.9 kB / 1.359 GB, free: 13.75 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/1.207, allocations: 0.6935 MB / 1.359 GB, free: 13.05 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/1.209, allocations: 0.8319 MB / 1.36 GB, free: 12.21 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004037/1.214, allocations: 1.463 MB / 1.362 GB, free: 10.73 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.214, allocations: 0 / 1.362 GB, free: 10.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005158/1.219, allocations: 1.844 MB / 1.364 GB, free: 8.871 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/1.219, allocations: 11.98 kB / 1.364 GB, free: 8.859 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.219, allocations: 0 / 1.364 GB, free: 8.859 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005565/1.219, allocations: 88.78 kB / 1.364 GB, free: 8.77 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/1.221, allocations: 339.5 kB / 1.364 GB, free: 8.438 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/1.223, allocations: 1.65 MB / 1.366 GB, free: 6.641 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/1.225, allocations: 213.6 kB / 1.366 GB, free: 6.434 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/1.225, allocations: 63.94 kB / 1.366 GB, free: 6.371 MB / 1.092 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.0007882/1.226, allocations: 392.1 kB / 1.366 GB, free: 5.98 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/1.226, allocations: 131.2 kB / 1.366 GB, free: 5.852 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005829/1.232, allocations: 2.214 MB / 1.368 GB, free: 3.621 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/1.232, allocations: 16 kB / 1.368 GB, free: 3.605 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.232, allocations: 3.938 kB / 1.369 GB, free: 3.602 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/1.232, allocations: 7.969 kB / 1.369 GB, free: 3.594 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/1.234, allocations: 1.784 MB / 1.37 GB, free: 1.758 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/1.234, allocations: 0 / 1.37 GB, free: 1.758 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/1.236, allocations: 319.5 kB / 1.371 GB, free: 1.445 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004177/1.236, allocations: 68.8 kB / 1.371 GB, free: 1.375 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/1.236, allocations: 47.95 kB / 1.371 GB, free: 1.328 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/1.238, allocations: 1.674 MB / 1.372 GB, free: 15.51 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.238, allocations: 0 / 1.372 GB, free: 15.51 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005003/1.243, allocations: 1.926 MB / 1.374 GB, free: 13.56 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000769/1.244, allocations: 443.7 kB / 1.375 GB, free: 13.11 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/1.244, allocations: 43.94 kB / 1.375 GB, free: 13.07 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/1.246, allocations: 139.8 kB / 1.375 GB, free: 12.93 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/1.246, allocations: 117.1 kB / 1.375 GB, free: 12.82 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/1.246, allocations: 67.89 kB / 1.375 GB, free: 12.75 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009025/1.247, allocations: 0.6384 MB / 1.376 GB, free: 12.1 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.247, allocations: 0 / 1.376 GB, free: 12.1 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001297/1.248, allocations: 0.5182 MB / 1.376 GB, free: 11.58 MB / 1.107 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.001457/1.25, allocations: 0.6344 MB / 1.377 GB, free: 11.11 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005197/1.255, allocations: 1.833 MB / 1.378 GB, free: 9.266 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.255, allocations: 7.938 kB / 1.379 GB, free: 9.258 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003874/1.259, allocations: 1.052 MB / 1.38 GB, free: 8.195 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/1.261, allocations: 372.6 kB / 1.38 GB, free: 7.848 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00809/1.269, allocations: 3.009 MB / 1.383 GB, free: 4.809 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/1.27, allocations: 1.264 MB / 1.384 GB, free: 3.512 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0023/1.273, allocations: 398.3 kB / 1.384 GB, free: 3.117 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007938/1.273, allocations: 167.3 kB / 1.385 GB, free: 2.953 MB / 1.107 GB Notification: Performance of SimCode: time 8.71e-07/1.273, allocations: 4 kB / 1.385 GB, free: 2.949 MB / 1.107 GB Notification: Performance of Templates: time 0.05558/1.329, allocations: 24.62 MB / 1.409 GB, free: 10.5 MB / 1.139 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/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