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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001122/0.001122, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001129/0.001129, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.638/2.638, allocations: 472.7 MB / 0.746 GB, free: 484 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.00146, allocations: 67.89 kB / 1.07 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7693/0.7708, allocations: 159.9 MB / 1.226 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009099/0.7799, allocations: 7.335 MB / 1.233 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1596/0.9395, allocations: 151.8 MB / 1.382 GB, free: 13.8 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.9409, allocations: 23.88 kB / 1.382 GB, free: 13.78 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.9426, allocations: 439.5 kB / 1.382 GB, free: 13.36 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.9453, allocations: 0.7683 MB / 1.383 GB, free: 12.59 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.9479, allocations: 1.125 MB / 1.384 GB, free: 11.46 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003249/0.9512, allocations: 2.47 MB / 1.386 GB, free: 8.988 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/0.9531, allocations: 1.152 MB / 1.388 GB, free: 7.781 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.9544, allocations: 0.9112 MB / 1.388 GB, free: 6.867 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.9558, allocations: 0.9959 MB / 1.389 GB, free: 5.867 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005535/0.9564, allocations: 268 kB / 1.39 GB, free: 5.605 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.9578, allocations: 0.6363 MB / 1.39 GB, free: 4.969 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006527/0.9585, allocations: 0.5648 MB / 1.391 GB, free: 4.402 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.9599, allocations: 1.085 MB / 1.392 GB, free: 3.312 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.004029/0.964, allocations: 3.169 MB / 1.395 GB, free: 136 kB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.964, allocations: 0 / 1.395 GB, free: 136 kB / 1.107 GB Notification: Performance of FrontEnd: time 1.392e-06/0.964, allocations: 4 kB / 1.395 GB, free: 132 kB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001023/0.9641, allocations: 0 / 1.395 GB, free: 132 kB / 1.107 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.005281/0.9694, allocations: 2.344 MB / 1.397 GB, free: 13.73 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.9694, allocations: 12.03 kB / 1.397 GB, free: 13.71 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00672/0.9762, allocations: 0.8735 MB / 1.398 GB, free: 12.84 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/0.9783, allocations: 1.138 MB / 1.399 GB, free: 11.66 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.9784, allocations: 123.3 kB / 1.399 GB, free: 11.54 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002712/0.9787, allocations: 164 kB / 1.4 GB, free: 11.38 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004767/0.9835, allocations: 2.067 MB / 1.402 GB, free: 9.254 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.9836, allocations: 0 / 1.402 GB, free: 9.254 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.9838, allocations: 68 kB / 1.402 GB, free: 9.188 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.9838, allocations: 36 kB / 1.402 GB, free: 9.152 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006262/0.9901, allocations: 2.444 MB / 1.404 GB, free: 6.703 MB / 1.123 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.01315/1.003, allocations: 5.67 MB / 1.41 GB, free: 0.8633 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006248/1.01, allocations: 1.717 MB / 1.411 GB, free: 15.14 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002816/1.012, allocations: 0.7971 MB / 1.412 GB, free: 14.34 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009917/1.013, allocations: 0.4911 MB / 1.413 GB, free: 13.75 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003566/1.017, allocations: 1.067 MB / 1.414 GB, free: 12.67 MB / 1.139 GB Notification: Performance of pre-optimization done (n=139): time 7.775e-06/1.017, allocations: 4 kB / 1.414 GB, free: 12.66 MB / 1.139 GB Notification: Performance of matching and sorting (n=139): time 0.01067/1.028, allocations: 2.615 MB / 1.416 GB, free: 10.02 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000225/1.028, allocations: 226.9 kB / 1.416 GB, free: 9.75 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/1.03, allocations: 0.9444 MB / 1.417 GB, free: 8.785 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000213/1.03, allocations: 53.7 kB / 1.417 GB, free: 8.727 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007623/1.031, allocations: 0.6616 MB / 1.418 GB, free: 8.055 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006118/1.032, allocations: 476 kB / 1.418 GB, free: 7.586 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007214/1.032, allocations: 270.7 kB / 1.419 GB, free: 7.316 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.033, allocations: 353.9 kB / 1.419 GB, free: 6.965 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002862/1.036, allocations: 0.6975 MB / 1.42 GB, free: 6.266 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002993/1.039, allocations: 0.8242 MB / 1.421 GB, free: 5.426 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005656/1.044, allocations: 1.471 MB / 1.422 GB, free: 3.938 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.044, allocations: 0 / 1.422 GB, free: 3.938 MB / 1.139 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.007585/1.052, allocations: 1.848 MB / 1.424 GB, free: 2.078 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/1.052, allocations: 4 kB / 1.424 GB, free: 2.074 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/1.052, allocations: 4 kB / 1.424 GB, free: 2.07 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000776/1.053, allocations: 84.83 kB / 1.424 GB, free: 1.984 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002694/1.055, allocations: 343.5 kB / 1.424 GB, free: 1.648 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/1.059, allocations: 1.644 MB / 1.426 GB, free: 15.86 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/1.061, allocations: 211.1 kB / 1.426 GB, free: 15.65 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003382/1.062, allocations: 63.94 kB / 1.426 GB, free: 15.59 MB / 1.154 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.001431/1.063, allocations: 412.7 kB / 1.426 GB, free: 15.18 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006877/1.064, allocations: 139.1 kB / 1.427 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008827/1.073, allocations: 2.218 MB / 1.429 GB, free: 12.8 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/1.073, allocations: 7.969 kB / 1.429 GB, free: 12.8 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.073, allocations: 4 kB / 1.429 GB, free: 12.79 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.074, allocations: 447.6 kB / 1.429 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004474/1.074, allocations: 39.98 kB / 1.429 GB, free: 12.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002196/1.076, allocations: 141.4 kB / 1.429 GB, free: 12.16 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/1.077, allocations: 121.1 kB / 1.429 GB, free: 12.04 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008139/1.085, allocations: 2.009 MB / 1.431 GB, free: 10.03 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009249/1.094, allocations: 3.011 MB / 1.434 GB, free: 6.996 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001948/1.096, allocations: 0.8731 MB / 1.435 GB, free: 6.121 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009682/1.097, allocations: 0.6791 MB / 1.436 GB, free: 5.434 MB / 1.154 GB Notification: Performance of Backend: time 5.71e-07/1.097, allocations: 0 / 1.436 GB, free: 5.434 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004916/1.102, allocations: 1.846 MB / 1.438 GB, free: 3.801 MB / 1.154 GB Notification: Performance of SimCode: time 0.004461/1.107, allocations: 3.14 MB / 1.441 GB, free: 0.625 MB / 1.154 GB Notification: Performance of Templates: time 0.04541/1.152, allocations: 29.71 MB / 1.47 GB, free: 3.129 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