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.001822/0.001822, allocations: 105.4 kB / 16.41 MB, free: 6.457 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.001952/0.001952, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.555/2.555, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 68.12 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8142/0.8158, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.008913/0.8247, allocations: 7.377 MB / 1.216 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1712/0.996, allocations: 151.8 MB / 1.364 GB, free: 14.03 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.9978, allocations: 19.94 kB / 1.364 GB, free: 14.01 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.9992, allocations: 313.1 kB / 1.364 GB, free: 13.7 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003294/1.003, allocations: 0.7991 MB / 1.365 GB, free: 12.9 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003139/1.006, allocations: 1.137 MB / 1.366 GB, free: 11.77 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003538/1.009, allocations: 2.361 MB / 1.368 GB, free: 9.406 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/1.011, allocations: 1.156 MB / 1.369 GB, free: 8.199 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/1.013, allocations: 0.8995 MB / 1.37 GB, free: 7.297 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/1.015, allocations: 0.9882 MB / 1.371 GB, free: 6.305 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0007168/1.016, allocations: 264 kB / 1.372 GB, free: 6.047 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/1.017, allocations: 0.6402 MB / 1.372 GB, free: 5.406 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000801/1.018, allocations: 0.5492 MB / 1.373 GB, free: 4.855 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001785/1.02, allocations: 1.065 MB / 1.374 GB, free: 3.785 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004762/1.025, allocations: 3.112 MB / 1.377 GB, free: 0.6641 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/1.025, allocations: 0 / 1.377 GB, free: 0.6641 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.653e-06/1.025, allocations: 0 / 1.377 GB, free: 0.6641 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.908e-05/1.025, allocations: 0 / 1.377 GB, free: 0.6641 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.006112/1.031, allocations: 2.239 MB / 1.379 GB, free: 14.36 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/1.031, allocations: 12.03 kB / 1.379 GB, free: 14.35 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006426/1.038, allocations: 0.8608 MB / 1.38 GB, free: 13.48 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/1.04, allocations: 1.106 MB / 1.381 GB, free: 12.34 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/1.04, allocations: 123.3 kB / 1.381 GB, free: 12.21 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004646/1.041, allocations: 159.9 kB / 1.381 GB, free: 12.06 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005783/1.046, allocations: 2.055 MB / 1.383 GB, free: 9.953 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/1.046, allocations: 0 / 1.383 GB, free: 9.953 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002793/1.047, allocations: 68 kB / 1.383 GB, free: 9.887 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/1.047, allocations: 40 kB / 1.383 GB, free: 9.848 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006539/1.053, allocations: 2.444 MB / 1.386 GB, free: 7.398 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.01138/1.065, allocations: 5.629 MB / 1.391 GB, free: 1.594 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004976/1.07, allocations: 1.727 MB / 1.393 GB, free: 15.86 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002292/1.072, allocations: 0.8024 MB / 1.394 GB, free: 15.06 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007541/1.073, allocations: 491.1 kB / 1.394 GB, free: 14.48 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0029/1.076, allocations: 1.071 MB / 1.395 GB, free: 13.39 MB / 1.123 GB Notification: Performance of pre-optimization done (n=139): time 4.399e-06/1.076, allocations: 0 / 1.395 GB, free: 13.39 MB / 1.123 GB Notification: Performance of matching and sorting (n=139): time 0.00815/1.084, allocations: 2.595 MB / 1.398 GB, free: 10.77 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.084, allocations: 201.2 kB / 1.398 GB, free: 10.53 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/1.086, allocations: 0.8821 MB / 1.399 GB, free: 9.625 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001873/1.086, allocations: 53.7 kB / 1.399 GB, free: 9.566 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005974/1.086, allocations: 0.629 MB / 1.399 GB, free: 8.926 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005008/1.087, allocations: 449.5 kB / 1.4 GB, free: 8.48 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000523/1.088, allocations: 270.7 kB / 1.4 GB, free: 8.211 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.088, allocations: 357.9 kB / 1.4 GB, free: 7.855 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/1.09, allocations: 0.6897 MB / 1.401 GB, free: 7.164 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/1.092, allocations: 0.8319 MB / 1.402 GB, free: 6.316 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003986/1.096, allocations: 1.467 MB / 1.403 GB, free: 4.832 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/1.096, allocations: 0 / 1.403 GB, free: 4.832 MB / 1.123 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005287/1.101, allocations: 1.832 MB / 1.405 GB, free: 2.988 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/1.101, allocations: 5.875 kB / 1.405 GB, free: 2.984 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.101, allocations: 8.062 kB / 1.405 GB, free: 2.977 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/1.102, allocations: 88.77 kB / 1.405 GB, free: 2.887 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/1.104, allocations: 343.5 kB / 1.406 GB, free: 2.551 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/1.106, allocations: 1.652 MB / 1.407 GB, free: 0.7539 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/1.108, allocations: 194.8 kB / 1.407 GB, free: 0.5625 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/1.108, allocations: 71.94 kB / 1.407 GB, free: 0.4922 MB / 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.0009059/1.109, allocations: 396 kB / 1.408 GB, free: 100 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004566/1.109, allocations: 122.7 kB / 1.408 GB, free: 15.97 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00624/1.115, allocations: 2.214 MB / 1.41 GB, free: 13.74 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/1.116, allocations: 15.94 kB / 1.41 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/1.116, allocations: 7.938 kB / 1.41 GB, free: 13.72 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/1.116, allocations: 7.969 kB / 1.41 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/1.118, allocations: 1.769 MB / 1.412 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/1.118, allocations: 4 kB / 1.412 GB, free: 11.89 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/1.12, allocations: 315.6 kB / 1.412 GB, free: 11.58 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004641/1.12, allocations: 72.78 kB / 1.412 GB, free: 11.51 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/1.121, allocations: 43.95 kB / 1.412 GB, free: 11.46 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/1.123, allocations: 1.677 MB / 1.414 GB, free: 9.641 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.123, allocations: 4 kB / 1.414 GB, free: 9.637 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005335/1.128, allocations: 1.917 MB / 1.416 GB, free: 7.695 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007788/1.129, allocations: 434.9 kB / 1.416 GB, free: 7.25 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003442/1.129, allocations: 39.94 kB / 1.416 GB, free: 7.211 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/1.131, allocations: 139.8 kB / 1.416 GB, free: 7.074 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/1.131, allocations: 117.1 kB / 1.416 GB, free: 6.961 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/1.131, allocations: 63.95 kB / 1.417 GB, free: 6.898 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001134/1.132, allocations: 0.6384 MB / 1.417 GB, free: 6.25 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.51e-07/1.132, allocations: 4 kB / 1.417 GB, free: 6.246 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001619/1.134, allocations: 0.5219 MB / 1.418 GB, free: 5.723 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.001587/1.136, allocations: 0.6385 MB / 1.418 GB, free: 5.262 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.005053/1.141, allocations: 1.818 MB / 1.42 GB, free: 3.43 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.141, allocations: 0 / 1.42 GB, free: 3.43 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002648/1.143, allocations: 1.06 MB / 1.421 GB, free: 2.359 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/1.145, allocations: 364.1 kB / 1.421 GB, free: 2.02 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006741/1.152, allocations: 3.012 MB / 1.424 GB, free: 14.97 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/1.153, allocations: 1.26 MB / 1.426 GB, free: 13.68 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009484/1.154, allocations: 191.3 kB / 1.426 GB, free: 13.5 MB / 1.154 GB Notification: Performance of SimCode: time 8.41e-07/1.154, allocations: 4 kB / 1.426 GB, free: 13.49 MB / 1.154 GB Notification: Performance of Templates: time 0.0423/1.197, allocations: 32.57 MB / 1.458 GB, free: 13 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