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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001428/0.001428, allocations: 108.2 kB / 16.41 MB, free: 6.5 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.001626/0.001626, allocations: 193.6 kB / 17.35 MB, free: 5.762 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.458/2.458, allocations: 461.7 MB / 0.7352 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.747/0.7484, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009441/0.7579, allocations: 7.369 MB / 1.215 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1511/0.909, allocations: 151.8 MB / 1.364 GB, free: 13.93 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.9101, allocations: 19.94 kB / 1.364 GB, free: 13.91 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007878/0.911, allocations: 305.1 kB / 1.364 GB, free: 13.61 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.9131, allocations: 0.8085 MB / 1.365 GB, free: 12.81 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.9154, allocations: 1.136 MB / 1.366 GB, free: 11.68 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002314/0.9177, allocations: 2.349 MB / 1.368 GB, free: 9.32 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.9192, allocations: 1.156 MB / 1.369 GB, free: 8.113 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.9204, allocations: 0.8956 MB / 1.37 GB, free: 7.215 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.9215, allocations: 0.9882 MB / 1.371 GB, free: 6.223 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003273/0.9218, allocations: 264 kB / 1.371 GB, free: 5.965 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.923, allocations: 0.6402 MB / 1.372 GB, free: 5.324 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004243/0.9234, allocations: 0.5414 MB / 1.372 GB, free: 4.781 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009109/0.9243, allocations: 1.069 MB / 1.374 GB, free: 3.707 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003019/0.9273, allocations: 3.112 MB / 1.377 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.9274, allocations: 0 / 1.377 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9274, allocations: 0 / 1.377 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.974e-05/0.9274, allocations: 0 / 1.377 GB, free: 0.5859 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.004161/0.9316, allocations: 2.237 MB / 1.379 GB, free: 14.29 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.9316, allocations: 8.031 kB / 1.379 GB, free: 14.28 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00561/0.9372, allocations: 0.8647 MB / 1.38 GB, free: 13.41 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.9389, allocations: 1.106 MB / 1.381 GB, free: 12.27 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.964e-05/0.939, allocations: 123.2 kB / 1.381 GB, free: 12.14 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.9393, allocations: 160 kB / 1.381 GB, free: 11.99 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/0.9435, allocations: 2.059 MB / 1.383 GB, free: 9.879 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.9436, allocations: 0 / 1.383 GB, free: 9.879 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.9437, allocations: 64 kB / 1.383 GB, free: 9.816 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.9438, allocations: 40 kB / 1.383 GB, free: 9.777 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005764/0.9495, allocations: 2.452 MB / 1.385 GB, free: 7.32 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.009355/0.9589, allocations: 5.633 MB / 1.391 GB, free: 1.508 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004235/0.9632, allocations: 1.728 MB / 1.393 GB, free: 15.77 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/0.9652, allocations: 0.8062 MB / 1.393 GB, free: 14.96 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006517/0.9658, allocations: 490.7 kB / 1.394 GB, free: 14.39 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002434/0.9683, allocations: 1.067 MB / 1.395 GB, free: 13.3 MB / 1.123 GB Notification: Performance of pre-optimization done (n=139): time 3.136e-06/0.9683, allocations: 0 / 1.395 GB, free: 13.3 MB / 1.123 GB Notification: Performance of matching and sorting (n=139): time 0.007314/0.9756, allocations: 2.595 MB / 1.397 GB, free: 10.68 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.541e-05/0.9757, allocations: 197.2 kB / 1.398 GB, free: 10.45 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.9768, allocations: 0.8782 MB / 1.399 GB, free: 9.543 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.977, allocations: 53.7 kB / 1.399 GB, free: 9.484 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004849/0.9775, allocations: 0.6367 MB / 1.399 GB, free: 8.836 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003691/0.9778, allocations: 453.4 kB / 1.4 GB, free: 8.387 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00045/0.9783, allocations: 270.7 kB / 1.4 GB, free: 8.117 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.9784, allocations: 357.9 kB / 1.4 GB, free: 7.762 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/0.9803, allocations: 0.6897 MB / 1.401 GB, free: 7.07 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.9823, allocations: 0.8281 MB / 1.402 GB, free: 6.227 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/0.9861, allocations: 1.467 MB / 1.403 GB, free: 4.742 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/0.9861, allocations: 4 kB / 1.403 GB, free: 4.738 MB / 1.123 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00492/0.9911, allocations: 1.828 MB / 1.405 GB, free: 2.898 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.9911, allocations: 8 kB / 1.405 GB, free: 2.891 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.9911, allocations: 0 / 1.405 GB, free: 2.891 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000542/0.9917, allocations: 84.84 kB / 1.405 GB, free: 2.805 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.9934, allocations: 347.4 kB / 1.405 GB, free: 2.465 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.9953, allocations: 1.65 MB / 1.407 GB, free: 0.668 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.9969, allocations: 204.7 kB / 1.407 GB, free: 480 kB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.9971, allocations: 63.94 kB / 1.407 GB, free: 416 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.000702/0.9978, allocations: 392 kB / 1.408 GB, free: 12 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/0.9981, allocations: 130.6 kB / 1.408 GB, free: 15.88 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005703/1.004, allocations: 2.206 MB / 1.41 GB, free: 13.66 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/1.004, allocations: 7.969 kB / 1.41 GB, free: 13.65 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.004, allocations: 0 / 1.41 GB, free: 13.65 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006622/1.005, allocations: 434.9 kB / 1.41 GB, free: 13.2 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/1.005, allocations: 39.94 kB / 1.41 GB, free: 13.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/1.006, allocations: 143.8 kB / 1.41 GB, free: 13.02 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/1.006, allocations: 117.1 kB / 1.411 GB, free: 12.91 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005442/1.012, allocations: 2.005 MB / 1.413 GB, free: 10.9 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006666/1.019, allocations: 3.002 MB / 1.415 GB, free: 7.875 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001989/1.021, allocations: 0.8692 MB / 1.416 GB, free: 7.004 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008567/1.021, allocations: 0.6422 MB / 1.417 GB, free: 6.352 MB / 1.139 GB Notification: Performance of Backend: time 4.01e-07/1.021, allocations: 0 / 1.417 GB, free: 6.352 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004927/1.026, allocations: 1.831 MB / 1.419 GB, free: 4.738 MB / 1.139 GB Notification: Performance of SimCode: time 0.004358/1.031, allocations: 2.965 MB / 1.422 GB, free: 1.738 MB / 1.139 GB Notification: Performance of Templates: time 0.04335/1.074, allocations: 28.57 MB / 1.45 GB, free: 5.367 MB / 1.17 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