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.001245/0.001244, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.001104/0.001104, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.427/2.427, allocations: 437.1 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 64.53 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2848, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008353/0.2932, allocations: 7.401 MB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6886/0.9819, allocations: 151.7 MB / 1.174 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.9832, allocations: 23.66 kB / 1.174 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000927/0.9842, allocations: 304.3 kB / 1.175 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.9867, allocations: 0.8078 MB / 1.175 GB, free: 12.87 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002401/0.9892, allocations: 1.137 MB / 1.176 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003/0.9922, allocations: 2.354 MB / 1.179 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.9939, allocations: 1.159 MB / 1.18 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.9954, allocations: 0.8919 MB / 1.181 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.9968, allocations: 0.9909 MB / 1.182 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003826/0.9972, allocations: 263.7 kB / 1.182 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.9985, allocations: 0.6442 MB / 1.183 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005143/0.999, allocations: 0.5417 MB / 1.183 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/1, allocations: 1.06 MB / 1.184 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003686/1.004, allocations: 3.113 MB / 1.187 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.004, allocations: 0 / 1.187 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.813e-06/1.004, allocations: 3.938 kB / 1.187 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.276e-05/1.004, allocations: 0 / 1.187 GB, free: 5.145 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.004626/1.009, allocations: 2.229 MB / 1.189 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.009, allocations: 8.453 kB / 1.189 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006095/1.015, allocations: 0.8634 MB / 1.19 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/1.017, allocations: 1.111 MB / 1.191 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/1.017, allocations: 120.9 kB / 1.191 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003727/1.018, allocations: 167.4 kB / 1.192 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004893/1.023, allocations: 2.051 MB / 1.194 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/1.023, allocations: 0 / 1.194 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/1.023, allocations: 74.8 kB / 1.194 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.275e-05/1.023, allocations: 39.78 kB / 1.194 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006106/1.029, allocations: 2.443 MB / 1.196 GB, free: 15.57 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.01029/1.039, allocations: 5.647 MB / 1.202 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00407/1.044, allocations: 1.706 MB / 1.203 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/1.045, allocations: 0.8033 MB / 1.204 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006869/1.046, allocations: 493.5 kB / 1.205 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00241/1.049, allocations: 1.07 MB / 1.206 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=139): time 3.246e-06/1.049, allocations: 2.406 kB / 1.206 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=139): time 0.007552/1.056, allocations: 2.597 MB / 1.208 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.056, allocations: 197.2 kB / 1.208 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/1.058, allocations: 0.8859 MB / 1.209 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001927/1.058, allocations: 53.7 kB / 1.209 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005324/1.058, allocations: 0.6289 MB / 1.21 GB, free: 4.68 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005207/1.059, allocations: 457 kB / 1.21 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000538/1.059, allocations: 266.8 kB / 1.21 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000179/1.06, allocations: 357.9 kB / 1.211 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/1.062, allocations: 0.6935 MB / 1.212 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00219/1.064, allocations: 0.8242 MB / 1.212 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004038/1.068, allocations: 1.463 MB / 1.214 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.068, allocations: 0 / 1.214 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005867/1.074, allocations: 1.839 MB / 1.216 GB, free: 14.74 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/1.074, allocations: 11.98 kB / 1.216 GB, free: 14.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.074, allocations: 0 / 1.216 GB, free: 14.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006015/1.075, allocations: 88.84 kB / 1.216 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/1.076, allocations: 343.5 kB / 1.216 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002333/1.079, allocations: 1.647 MB / 1.218 GB, free: 12.51 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/1.081, allocations: 214.7 kB / 1.218 GB, free: 12.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/1.081, allocations: 59.94 kB / 1.218 GB, free: 12.24 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.0009023/1.082, allocations: 400.3 kB / 1.218 GB, free: 11.84 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004212/1.082, allocations: 122.5 kB / 1.218 GB, free: 11.72 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006343/1.089, allocations: 2.206 MB / 1.22 GB, free: 9.496 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/1.089, allocations: 16 kB / 1.221 GB, free: 9.48 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/1.089, allocations: 0 / 1.221 GB, free: 9.48 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.946e-05/1.089, allocations: 11.91 kB / 1.221 GB, free: 9.469 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/1.091, allocations: 1.773 MB / 1.222 GB, free: 7.645 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/1.091, allocations: 0 / 1.222 GB, free: 7.645 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/1.093, allocations: 319.6 kB / 1.223 GB, free: 7.332 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/1.094, allocations: 68.8 kB / 1.223 GB, free: 7.262 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/1.094, allocations: 47.95 kB / 1.223 GB, free: 7.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/1.096, allocations: 1.682 MB / 1.224 GB, free: 5.387 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.096, allocations: 0 / 1.224 GB, free: 5.387 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005308/1.101, allocations: 1.913 MB / 1.226 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009333/1.102, allocations: 435 kB / 1.227 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003553/1.102, allocations: 43.83 kB / 1.227 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/1.104, allocations: 142.5 kB / 1.227 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/1.104, allocations: 117.7 kB / 1.227 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.104, allocations: 59.95 kB / 1.227 GB, free: 2.652 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001115/1.106, allocations: 0.6423 MB / 1.228 GB, free: 2 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/1.106, allocations: 0 / 1.228 GB, free: 2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001537/1.107, allocations: 0.5026 MB / 1.228 GB, free: 1.496 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.001596/1.109, allocations: 0.6526 MB / 1.229 GB, free: 1.023 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004925/1.114, allocations: 1.829 MB / 1.23 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.114, allocations: 3.938 kB / 1.23 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002531/1.116, allocations: 1.052 MB / 1.232 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/1.118, allocations: 373.9 kB / 1.232 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006148/1.124, allocations: 2.957 MB / 1.235 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009981/1.125, allocations: 1.263 MB / 1.236 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001747/1.127, allocations: 398.3 kB / 1.236 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006433/1.128, allocations: 163.3 kB / 1.237 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of SimCode: time 9.02e-07/1.128, allocations: 4 kB / 1.237 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of Templates: time 0.04275/1.17, allocations: 24.33 MB / 1.26 GB, free: 0.8125 MB / 0.9512 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 -s gbode -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