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.001461/0.001461, allocations: 109.9 kB / 16.41 MB, free: 6.449 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.001163/0.001163, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.17 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.488/2.488, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7756/0.7769, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.00856/0.7855, allocations: 7.407 MB / 1.175 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1597/0.9452, allocations: 151.8 MB / 1.323 GB, free: 4.051 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.9471, allocations: 19.88 kB / 1.323 GB, free: 4.031 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.9484, allocations: 305.2 kB / 1.323 GB, free: 3.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00323/0.9517, allocations: 0.8098 MB / 1.324 GB, free: 2.922 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003004/0.9547, allocations: 1.146 MB / 1.325 GB, free: 1.781 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003164/0.9578, allocations: 2.349 MB / 1.327 GB, free: 15.42 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.9597, allocations: 1.156 MB / 1.328 GB, free: 14.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.9612, allocations: 0.9073 MB / 1.329 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.9628, allocations: 0.9843 MB / 1.33 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000689/0.9635, allocations: 268 kB / 1.33 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.965, allocations: 0.648 MB / 1.331 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006617/0.9657, allocations: 0.5492 MB / 1.332 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001567/0.9673, allocations: 1.054 MB / 1.333 GB, free: 9.797 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003471/0.9708, allocations: 3.112 MB / 1.336 GB, free: 6.676 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.9708, allocations: 4 kB / 1.336 GB, free: 6.672 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9708, allocations: 0 / 1.336 GB, free: 6.672 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.162e-05/0.9708, allocations: 0 / 1.336 GB, free: 6.672 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.005396/0.9762, allocations: 2.239 MB / 1.338 GB, free: 4.379 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.9763, allocations: 12.92 kB / 1.338 GB, free: 4.367 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005947/0.9822, allocations: 0.8569 MB / 1.339 GB, free: 3.508 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.9839, allocations: 1.11 MB / 1.34 GB, free: 2.352 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.102e-05/0.984, allocations: 123.3 kB / 1.34 GB, free: 2.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.9843, allocations: 160 kB / 1.34 GB, free: 2.074 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004392/0.9887, allocations: 2.047 MB / 1.342 GB, free: 15.98 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.9887, allocations: 11.92 kB / 1.342 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.9889, allocations: 68 kB / 1.342 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.9889, allocations: 40 kB / 1.342 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005944/0.9949, allocations: 2.448 MB / 1.345 GB, free: 13.41 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.01005/1.005, allocations: 5.635 MB / 1.35 GB, free: 7.59 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005873/1.011, allocations: 1.723 MB / 1.352 GB, free: 5.863 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002202/1.013, allocations: 0.8051 MB / 1.353 GB, free: 5.055 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008228/1.014, allocations: 483.1 kB / 1.353 GB, free: 4.488 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002728/1.017, allocations: 1.067 MB / 1.354 GB, free: 3.402 MB / 1.076 GB Notification: Performance of pre-optimization done (n=139): time 4.178e-06/1.017, allocations: 0 / 1.354 GB, free: 3.402 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.008304/1.025, allocations: 2.603 MB / 1.357 GB, free: 0.7734 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/1.025, allocations: 197.2 kB / 1.357 GB, free: 0.5352 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/1.027, allocations: 0.8783 MB / 1.358 GB, free: 15.63 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/1.027, allocations: 53.7 kB / 1.358 GB, free: 15.57 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005594/1.028, allocations: 0.6289 MB / 1.358 GB, free: 14.93 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/1.028, allocations: 453.5 kB / 1.359 GB, free: 14.48 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005386/1.029, allocations: 274.6 kB / 1.359 GB, free: 14.21 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002054/1.029, allocations: 357.9 kB / 1.359 GB, free: 13.86 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002165/1.031, allocations: 0.6858 MB / 1.36 GB, free: 13.17 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/1.033, allocations: 0.8319 MB / 1.361 GB, free: 12.32 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004306/1.038, allocations: 1.463 MB / 1.362 GB, free: 10.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.038, allocations: 4 kB / 1.362 GB, free: 10.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005582/1.043, allocations: 1.836 MB / 1.364 GB, free: 8.988 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/1.043, allocations: 8 kB / 1.364 GB, free: 8.98 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.043, allocations: 0 / 1.364 GB, free: 8.98 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006188/1.044, allocations: 88.83 kB / 1.364 GB, free: 8.891 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/1.046, allocations: 347.4 kB / 1.364 GB, free: 8.551 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/1.048, allocations: 1.644 MB / 1.366 GB, free: 6.762 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/1.05, allocations: 210.8 kB / 1.366 GB, free: 6.555 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/1.05, allocations: 63.94 kB / 1.366 GB, free: 6.492 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.0008388/1.051, allocations: 393.4 kB / 1.367 GB, free: 6.102 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000366/1.051, allocations: 126.4 kB / 1.367 GB, free: 5.977 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00634/1.058, allocations: 2.206 MB / 1.369 GB, free: 3.754 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/1.058, allocations: 11.95 kB / 1.369 GB, free: 3.742 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.058, allocations: 0 / 1.369 GB, free: 3.742 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007694/1.058, allocations: 438.9 kB / 1.369 GB, free: 3.293 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/1.059, allocations: 39.92 kB / 1.369 GB, free: 3.254 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/1.06, allocations: 143.8 kB / 1.37 GB, free: 3.113 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/1.061, allocations: 117.1 kB / 1.37 GB, free: 3 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006232/1.067, allocations: 2.001 MB / 1.372 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007272/1.074, allocations: 3.002 MB / 1.375 GB, free: 13.96 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002112/1.076, allocations: 0.8691 MB / 1.375 GB, free: 13.09 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0009601/1.077, allocations: 0.6423 MB / 1.376 GB, free: 12.44 MB / 1.107 GB Notification: Performance of Backend: time 5.31e-07/1.077, allocations: 0 / 1.376 GB, free: 12.44 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005346/1.083, allocations: 1.838 MB / 1.378 GB, free: 10.8 MB / 1.107 GB Notification: Performance of SimCode: time 0.004696/1.087, allocations: 2.965 MB / 1.381 GB, free: 7.797 MB / 1.107 GB Notification: Performance of Templates: time 0.04635/1.134, allocations: 28.88 MB / 1.409 GB, free: 11.07 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/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