Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001559/0.001559, allocations: 110.4 kB / 16.41 MB, free: 6.508 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.001669/0.001669, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.338/1.338, 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 11.0.1-master/package.mo): time 2.495/2.495, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/0.7729, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008626/0.7816, allocations: 7.38 MB / 1.216 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1533/0.9349, allocations: 151.7 MB / 1.364 GB, free: 13.91 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.9361, allocations: 19.94 kB / 1.364 GB, free: 13.89 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009631/0.9372, allocations: 309.1 kB / 1.364 GB, free: 13.59 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.9397, allocations: 0.8091 MB / 1.365 GB, free: 12.78 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.9422, allocations: 1.145 MB / 1.366 GB, free: 11.64 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003033/0.9452, allocations: 2.349 MB / 1.368 GB, free: 9.281 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.947, allocations: 1.164 MB / 1.369 GB, free: 8.066 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.9483, allocations: 0.9034 MB / 1.37 GB, free: 7.16 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.9496, allocations: 0.9843 MB / 1.371 GB, free: 6.172 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003767/0.95, allocations: 264 kB / 1.372 GB, free: 5.914 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.9512, allocations: 0.648 MB / 1.372 GB, free: 5.266 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005855/0.9518, allocations: 0.5453 MB / 1.373 GB, free: 4.719 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.9529, allocations: 1.054 MB / 1.374 GB, free: 3.66 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003421/0.9563, allocations: 3.119 MB / 1.377 GB, free: 0.5312 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9563, allocations: 4 kB / 1.377 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9564, allocations: 0 / 1.377 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.375e-05/0.9564, allocations: 0 / 1.377 GB, free: 0.5273 MB / 1.092 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.004794/0.9612, allocations: 2.235 MB / 1.379 GB, free: 14.23 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.9613, allocations: 8.031 kB / 1.379 GB, free: 14.22 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006239/0.9675, allocations: 0.8686 MB / 1.38 GB, free: 13.35 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.9697, allocations: 1.102 MB / 1.381 GB, free: 12.21 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.9698, allocations: 123.3 kB / 1.381 GB, free: 12.09 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002587/0.9701, allocations: 163.9 kB / 1.381 GB, free: 11.93 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005264/0.9753, allocations: 2.051 MB / 1.383 GB, free: 9.824 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.9754, allocations: 0 / 1.383 GB, free: 9.824 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.9756, allocations: 68 kB / 1.383 GB, free: 9.758 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.9756, allocations: 43.98 kB / 1.383 GB, free: 9.715 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006167/0.9818, allocations: 2.448 MB / 1.386 GB, free: 7.262 MB / 1.107 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.01049/0.9923, allocations: 5.629 MB / 1.391 GB, free: 1.457 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004478/0.9968, allocations: 1.728 MB / 1.393 GB, free: 15.73 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/0.9989, allocations: 0.8024 MB / 1.394 GB, free: 14.92 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006624/0.9996, allocations: 490.9 kB / 1.394 GB, free: 14.35 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002448/1.002, allocations: 1.067 MB / 1.395 GB, free: 13.26 MB / 1.123 GB Notification: Performance of pre-optimization done (n=139): time 3.056e-06/1.002, allocations: 0 / 1.395 GB, free: 13.26 MB / 1.123 GB Notification: Performance of matching and sorting (n=139): time 0.007636/1.01, allocations: 2.599 MB / 1.398 GB, free: 10.64 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/1.01, allocations: 193.2 kB / 1.398 GB, free: 10.4 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/1.011, allocations: 0.8859 MB / 1.399 GB, free: 9.492 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001781/1.011, allocations: 57.7 kB / 1.399 GB, free: 9.43 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004984/1.012, allocations: 0.6289 MB / 1.399 GB, free: 8.789 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004027/1.012, allocations: 445.5 kB / 1.4 GB, free: 8.348 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004957/1.013, allocations: 270.6 kB / 1.4 GB, free: 8.078 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.013, allocations: 365.8 kB / 1.4 GB, free: 7.715 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001996/1.015, allocations: 0.6936 MB / 1.401 GB, free: 7.02 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002131/1.017, allocations: 0.8203 MB / 1.402 GB, free: 6.184 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004107/1.021, allocations: 1.463 MB / 1.403 GB, free: 4.703 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.021, allocations: 4 kB / 1.403 GB, free: 4.699 MB / 1.123 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005591/1.027, allocations: 1.836 MB / 1.405 GB, free: 2.852 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/1.027, allocations: 8 kB / 1.405 GB, free: 2.844 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.027, allocations: 0 / 1.405 GB, free: 2.844 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006351/1.027, allocations: 92.73 kB / 1.405 GB, free: 2.75 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/1.029, allocations: 343.5 kB / 1.406 GB, free: 2.414 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/1.032, allocations: 1.65 MB / 1.407 GB, free: 0.6172 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/1.034, allocations: 204.5 kB / 1.407 GB, free: 428 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003009/1.034, allocations: 63.94 kB / 1.407 GB, free: 364 kB / 1.123 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.00108/1.035, allocations: 388.2 kB / 1.408 GB, free: 15.96 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004606/1.036, allocations: 126.4 kB / 1.408 GB, free: 15.84 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00657/1.042, allocations: 2.206 MB / 1.41 GB, free: 13.62 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/1.042, allocations: 16 kB / 1.41 GB, free: 13.61 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.042, allocations: 11.92 kB / 1.41 GB, free: 13.59 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/1.042, allocations: 3.984 kB / 1.41 GB, free: 13.59 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/1.045, allocations: 1.788 MB / 1.412 GB, free: 11.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/1.045, allocations: 0 / 1.412 GB, free: 11.75 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/1.047, allocations: 311.6 kB / 1.412 GB, free: 11.45 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004988/1.047, allocations: 72.78 kB / 1.412 GB, free: 11.38 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/1.047, allocations: 47.95 kB / 1.412 GB, free: 11.33 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/1.049, allocations: 1.673 MB / 1.414 GB, free: 9.508 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.049, allocations: 0 / 1.414 GB, free: 9.508 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005648/1.055, allocations: 1.913 MB / 1.416 GB, free: 7.57 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007812/1.056, allocations: 438.9 kB / 1.416 GB, free: 7.121 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003282/1.056, allocations: 35.98 kB / 1.416 GB, free: 7.086 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/1.058, allocations: 139.8 kB / 1.416 GB, free: 6.949 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/1.058, allocations: 121.1 kB / 1.416 GB, free: 6.832 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/1.058, allocations: 63.94 kB / 1.417 GB, free: 6.77 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001065/1.059, allocations: 0.6384 MB / 1.417 GB, free: 6.121 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.059, allocations: 0 / 1.417 GB, free: 6.121 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001433/1.061, allocations: 0.518 MB / 1.418 GB, free: 5.602 MB / 1.139 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.001558/1.062, allocations: 0.6461 MB / 1.418 GB, free: 5.133 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005243/1.068, allocations: 1.825 MB / 1.42 GB, free: 3.293 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.068, allocations: 0 / 1.42 GB, free: 3.293 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002754/1.07, allocations: 1.056 MB / 1.421 GB, free: 2.227 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/1.072, allocations: 366.4 kB / 1.421 GB, free: 1.887 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006866/1.079, allocations: 3.01 MB / 1.424 GB, free: 14.84 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/1.08, allocations: 1.264 MB / 1.426 GB, free: 13.55 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.081, allocations: 195.3 kB / 1.426 GB, free: 13.36 MB / 1.154 GB Notification: Performance of SimCode: time 7.01e-07/1.081, allocations: 0 / 1.426 GB, free: 13.36 MB / 1.154 GB Notification: Performance of Templates: time 0.043/1.124, allocations: 32.57 MB / 1.458 GB, free: 12.87 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches