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.00118/0.00118, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.00143/0.00143, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.327/1.327, 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 10.1.1-maint.10.0.x/package.mo): time 2.362/2.362, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.89 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8169/0.8182, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009303/0.8276, allocations: 7.412 MB / 1.175 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1641/0.9917, allocations: 151.7 MB / 1.323 GB, free: 4.109 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.9932, allocations: 23.88 kB / 1.323 GB, free: 4.086 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.9947, allocations: 309.1 kB / 1.323 GB, free: 3.781 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003445/0.9982, allocations: 0.8177 MB / 1.324 GB, free: 2.965 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003195/1.001, allocations: 1.138 MB / 1.325 GB, free: 1.832 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003685/1.005, allocations: 2.357 MB / 1.327 GB, free: 15.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002158/1.007, allocations: 1.152 MB / 1.328 GB, free: 14.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/1.009, allocations: 0.9073 MB / 1.329 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/1.011, allocations: 0.9843 MB / 1.33 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008072/1.011, allocations: 264 kB / 1.33 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/1.013, allocations: 0.6402 MB / 1.331 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006942/1.014, allocations: 0.5492 MB / 1.332 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001746/1.016, allocations: 1.062 MB / 1.333 GB, free: 9.848 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004128/1.02, allocations: 3.112 MB / 1.336 GB, free: 6.727 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.02, allocations: 4 kB / 1.336 GB, free: 6.723 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.254e-06/1.02, allocations: 0 / 1.336 GB, free: 6.723 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.989e-05/1.02, allocations: 0 / 1.336 GB, free: 6.723 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.005988/1.026, allocations: 2.243 MB / 1.338 GB, free: 4.426 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.026, allocations: 12.92 kB / 1.338 GB, free: 4.414 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006386/1.032, allocations: 0.8685 MB / 1.339 GB, free: 3.543 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/1.035, allocations: 1.106 MB / 1.34 GB, free: 2.391 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/1.035, allocations: 123.3 kB / 1.34 GB, free: 2.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005238/1.036, allocations: 160 kB / 1.34 GB, free: 2.113 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005152/1.041, allocations: 2.051 MB / 1.342 GB, free: 12 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.245e-05/1.041, allocations: 0 / 1.342 GB, free: 12 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00023/1.041, allocations: 68.08 kB / 1.342 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-05/1.041, allocations: 40 kB / 1.342 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006098/1.047, allocations: 2.444 MB / 1.345 GB, free: 13.45 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.01095/1.058, allocations: 5.63 MB / 1.35 GB, free: 7.645 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004405/1.063, allocations: 1.731 MB / 1.352 GB, free: 5.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/1.065, allocations: 0.8011 MB / 1.353 GB, free: 5.105 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000759/1.065, allocations: 491 kB / 1.353 GB, free: 4.531 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002492/1.068, allocations: 1.064 MB / 1.354 GB, free: 3.449 MB / 1.076 GB Notification: Performance of pre-optimization done (n=139): time 5.31e-06/1.068, allocations: 0 / 1.354 GB, free: 3.449 MB / 1.076 GB Notification: Performance of matching and sorting (n=139): time 0.007557/1.075, allocations: 2.595 MB / 1.357 GB, free: 0.8281 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/1.076, allocations: 205.2 kB / 1.357 GB, free: 0.582 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/1.077, allocations: 0.8821 MB / 1.358 GB, free: 15.68 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/1.077, allocations: 53.7 kB / 1.358 GB, free: 15.62 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000561/1.078, allocations: 0.6329 MB / 1.358 GB, free: 14.97 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004615/1.078, allocations: 449.5 kB / 1.359 GB, free: 14.53 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005213/1.079, allocations: 266.7 kB / 1.359 GB, free: 14.26 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.079, allocations: 357.9 kB / 1.359 GB, free: 13.91 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/1.081, allocations: 0.6936 MB / 1.36 GB, free: 13.21 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/1.083, allocations: 0.828 MB / 1.361 GB, free: 12.37 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004046/1.087, allocations: 1.467 MB / 1.362 GB, free: 10.88 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/1.087, allocations: 0 / 1.362 GB, free: 10.88 MB / 1.092 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005462/1.093, allocations: 1.832 MB / 1.364 GB, free: 9.039 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/1.093, allocations: 4 kB / 1.364 GB, free: 9.035 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/1.093, allocations: 4 kB / 1.364 GB, free: 9.031 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006283/1.093, allocations: 84.78 kB / 1.364 GB, free: 8.945 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/1.095, allocations: 355.5 kB / 1.364 GB, free: 8.598 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/1.098, allocations: 1.648 MB / 1.366 GB, free: 6.805 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/1.1, allocations: 202.8 kB / 1.366 GB, free: 6.605 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004081/1.1, allocations: 67.88 kB / 1.366 GB, free: 6.539 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.001425/1.102, allocations: 393.2 kB / 1.367 GB, free: 6.148 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005274/1.102, allocations: 126.4 kB / 1.367 GB, free: 6.023 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006354/1.109, allocations: 2.21 MB / 1.369 GB, free: 3.797 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-05/1.109, allocations: 16 kB / 1.369 GB, free: 3.781 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/1.109, allocations: 7.938 kB / 1.369 GB, free: 3.773 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/1.109, allocations: 11.97 kB / 1.369 GB, free: 3.762 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/1.112, allocations: 1.784 MB / 1.371 GB, free: 1.926 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/1.112, allocations: 0 / 1.371 GB, free: 1.926 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/1.113, allocations: 311.5 kB / 1.371 GB, free: 1.621 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004922/1.114, allocations: 76.78 kB / 1.371 GB, free: 1.543 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/1.114, allocations: 43.95 kB / 1.371 GB, free: 1.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/1.116, allocations: 1.67 MB / 1.373 GB, free: 15.68 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.116, allocations: 4.062 kB / 1.373 GB, free: 15.68 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005278/1.121, allocations: 1.913 MB / 1.375 GB, free: 13.74 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009114/1.122, allocations: 439 kB / 1.375 GB, free: 13.29 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/1.123, allocations: 28 kB / 1.375 GB, free: 13.27 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/1.124, allocations: 143.8 kB / 1.375 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/1.125, allocations: 125.1 kB / 1.375 GB, free: 13 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/1.125, allocations: 55.95 kB / 1.375 GB, free: 12.95 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001004/1.126, allocations: 0.6539 MB / 1.376 GB, free: 12.29 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/1.126, allocations: 0 / 1.376 GB, free: 12.29 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001463/1.127, allocations: 0.518 MB / 1.377 GB, free: 11.77 MB / 1.107 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.001518/1.129, allocations: 0.6408 MB / 1.377 GB, free: 11.3 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.005001/1.134, allocations: 1.821 MB / 1.379 GB, free: 9.461 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/1.134, allocations: 4 kB / 1.379 GB, free: 9.457 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002566/1.136, allocations: 1.052 MB / 1.38 GB, free: 8.395 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/1.138, allocations: 366.7 kB / 1.38 GB, free: 8.055 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/1.144, allocations: 3.01 MB / 1.383 GB, free: 5.008 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.146, allocations: 1.257 MB / 1.385 GB, free: 3.719 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009957/1.147, allocations: 195.2 kB / 1.385 GB, free: 3.527 MB / 1.107 GB Notification: Performance of SimCode: time 6.21e-07/1.147, allocations: 0 / 1.385 GB, free: 3.527 MB / 1.107 GB Notification: Performance of Templates: time 0.0463/1.193, allocations: 32.59 MB / 1.417 GB, free: 2.988 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