Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_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.001077/0.001077, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001371, allocations: 197 kB / 16.53 MB, free: 6.664 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.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.62/2.62, allocations: 390.2 MB / 0.6646 GB, free: 492 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.89 kB / 0.8125 GB, free: 14.48 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8378/0.8393, allocations: 140.4 MB / 0.9496 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005198/0.8445, allocations: 4.661 MB / 0.9541 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2067/1.051, allocations: 151 MB / 1.102 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/1.052, allocations: 15.94 kB / 1.102 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009329/1.053, allocations: 218.1 kB / 1.102 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00214/1.055, allocations: 0.5572 MB / 1.102 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/1.058, allocations: 0.8447 MB / 1.103 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001558/1.059, allocations: 1.355 MB / 1.105 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009358/1.06, allocations: 0.6379 MB / 1.105 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006719/1.061, allocations: 494.2 kB / 1.106 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005749/1.061, allocations: 0.5172 MB / 1.106 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/1.062, allocations: 120 kB / 1.106 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008749/1.062, allocations: 487.6 kB / 1.107 GB, free: 408 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002663/1.063, allocations: 307 kB / 1.107 GB, free: 100 kB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005065/1.063, allocations: 0.5674 MB / 1.108 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/1.065, allocations: 1.663 MB / 1.109 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/1.065, allocations: 0 / 1.109 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.223e-06/1.065, allocations: 0 / 1.109 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.475e-05/1.065, allocations: 0 / 1.109 GB, free: 13.86 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002466/1.067, allocations: 1.5 MB / 1.111 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/1.068, allocations: 15.97 kB / 1.111 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009166/1.068, allocations: 183.3 kB / 1.111 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/1.069, allocations: 0.778 MB / 1.112 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/1.07, allocations: 66 kB / 1.112 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/1.07, allocations: 76 kB / 1.112 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/1.071, allocations: 0.9495 MB / 1.113 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/1.071, allocations: 3.984 kB / 1.113 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.35e-05/1.071, allocations: 36 kB / 1.113 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/1.071, allocations: 20 kB / 1.113 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/1.073, allocations: 1.132 MB / 1.114 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003917/1.077, allocations: 2.592 MB / 1.116 GB, free: 6.309 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/1.079, allocations: 0.8313 MB / 1.117 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005873/1.079, allocations: 314.7 kB / 1.117 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/1.079, allocations: 117.7 kB / 1.118 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009905/1.08, allocations: 0.503 MB / 1.118 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.595e-06/1.08, allocations: 0 / 1.118 GB, free: 4.504 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003394/1.084, allocations: 1.248 MB / 1.119 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.084, allocations: 196.6 kB / 1.119 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008547/1.085, allocations: 0.6803 MB / 1.12 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.267e-05/1.085, allocations: 45.7 kB / 1.12 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/1.085, allocations: 424.4 kB / 1.121 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/1.085, allocations: 264.2 kB / 1.121 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/1.086, allocations: 170.4 kB / 1.121 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.086, allocations: 390.8 kB / 1.121 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005698/1.086, allocations: 289.8 kB / 1.122 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/1.087, allocations: 375.1 kB / 1.122 GB, free: 352 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/1.088, allocations: 0.6385 MB / 1.123 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.088, allocations: 0 / 1.123 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002027/1.09, allocations: 0.8877 MB / 1.123 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.09, allocations: 7.938 kB / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.09, allocations: 0 / 1.124 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006072/1.091, allocations: 80.88 kB / 1.124 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006674/1.092, allocations: 163.8 kB / 1.124 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/1.094, allocations: 1.648 MB / 1.125 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007908/1.095, allocations: 95.27 kB / 1.125 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-05/1.095, allocations: 35.97 kB / 1.125 GB, free: 12.62 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0004902/1.095, allocations: 283.3 kB / 1.126 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/1.096, allocations: 94.88 kB / 1.126 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/1.098, allocations: 1.105 MB / 1.127 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/1.098, allocations: 8 kB / 1.127 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.098, allocations: 0 / 1.127 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/1.098, allocations: 7.969 kB / 1.127 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/1.099, allocations: 0.9464 MB / 1.128 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.099, allocations: 0 / 1.128 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006416/1.1, allocations: 143.8 kB / 1.128 GB, free: 9.965 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/1.101, allocations: 76.78 kB / 1.128 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-05/1.101, allocations: 27.92 kB / 1.128 GB, free: 9.859 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/1.103, allocations: 1.678 MB / 1.13 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.103, allocations: 4.031 kB / 1.13 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/1.105, allocations: 0.9629 MB / 1.131 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005142/1.105, allocations: 291.6 kB / 1.131 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/1.106, allocations: 16 kB / 1.131 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006754/1.106, allocations: 69.58 kB / 1.131 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/1.106, allocations: 72.91 kB / 1.131 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/1.107, allocations: 35.97 kB / 1.131 GB, free: 6.559 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007032/1.107, allocations: 498.9 kB / 1.132 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/1.107, allocations: 0 / 1.132 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009114/1.108, allocations: 319.2 kB / 1.132 GB, free: 5.766 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001464/1.11, allocations: 0.6015 MB / 1.133 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002658/1.112, allocations: 1.073 MB / 1.134 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.112, allocations: 0 / 1.134 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.113, allocations: 0.5314 MB / 1.134 GB, free: 3.703 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/1.115, allocations: 316.2 kB / 1.134 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00412/1.119, allocations: 1.892 MB / 1.136 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006174/1.119, allocations: 1.039 MB / 1.137 GB, free: 440 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008619/1.12, allocations: 258.8 kB / 1.137 GB, free: 176 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/1.121, allocations: 107.4 kB / 1.138 GB, free: 68 kB / 0.8887 GB Notification: Performance of SimCode: time 8.737e-06/1.121, allocations: 0 / 1.138 GB, free: 68 kB / 0.8887 GB Notification: Performance of Templates: time 0.02583/1.146, allocations: 15.41 MB / 1.153 GB, free: 0.8242 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches