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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008327/0.0008326, allocations: 99.34 kB / 16.02 MB, free: 76 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.0009421/0.0009421, allocations: 184 kB / 16.92 MB, free: 6.703 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.463/2.463, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 8 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7255, allocations: 142.4 MB / 0.9557 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.004876/0.7304, allocations: 4.253 MB / 0.9599 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1735/0.904, allocations: 147.1 MB / 1.103 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.9053, allocations: 19.88 kB / 1.104 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009607/0.9063, allocations: 166.8 kB / 1.104 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.9088, allocations: 493.3 kB / 1.104 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002517/0.9114, allocations: 0.7419 MB / 1.105 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002096/0.9135, allocations: 1.265 MB / 1.106 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.9147, allocations: 0.6158 MB / 1.107 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008308/0.9155, allocations: 350.2 kB / 1.107 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000814/0.9163, allocations: 397.7 kB / 1.107 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002156/0.9166, allocations: 28 kB / 1.107 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.9177, allocations: 387.6 kB / 1.108 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.918, allocations: 199.1 kB / 1.108 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006911/0.9187, allocations: 486.6 kB / 1.108 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.9204, allocations: 1.224 MB / 1.11 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.9204, allocations: 3.938 kB / 1.11 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.525e-06/0.9204, allocations: 0 / 1.11 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.379e-05/0.9205, allocations: 0 / 1.11 GB, free: 1.164 MB / 0.8575 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.003054/0.9236, allocations: 1.278 MB / 1.111 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.9236, allocations: 8.031 kB / 1.111 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.9247, allocations: 199.3 kB / 1.111 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.9264, allocations: 0.774 MB / 1.112 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.983e-05/0.9265, allocations: 61.98 kB / 1.112 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.9266, allocations: 84 kB / 1.112 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.9286, allocations: 0.9535 MB / 1.113 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.9286, allocations: 0 / 1.113 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.9288, allocations: 36 kB / 1.113 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.9288, allocations: 27.94 kB / 1.113 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002037/0.9308, allocations: 1.143 MB / 1.114 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0051/0.9359, allocations: 2.622 MB / 1.117 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.9377, allocations: 0.8431 MB / 1.117 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006334/0.9384, allocations: 318.7 kB / 1.118 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002375/0.9386, allocations: 113.7 kB / 1.118 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00107/0.9397, allocations: 0.5186 MB / 1.118 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 3.367e-06/0.9397, allocations: 0 / 1.118 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003698/0.9434, allocations: 1.264 MB / 1.12 GB, free: 6.656 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.9436, allocations: 192.6 kB / 1.12 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.9448, allocations: 0.688 MB / 1.121 GB, free: 5.73 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.47e-05/0.9449, allocations: 41.7 kB / 1.121 GB, free: 5.684 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/0.9454, allocations: 420.4 kB / 1.121 GB, free: 5.266 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.9457, allocations: 268.2 kB / 1.121 GB, free: 5 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.9458, allocations: 77.67 kB / 1.121 GB, free: 4.918 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002309/0.9461, allocations: 386.8 kB / 1.122 GB, free: 4.531 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006199/0.9467, allocations: 285.8 kB / 1.122 GB, free: 4.25 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007204/0.9474, allocations: 387.1 kB / 1.122 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.9487, allocations: 0.6463 MB / 1.123 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9487, allocations: 0 / 1.123 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002243/0.951, allocations: 0.9033 MB / 1.124 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.951, allocations: 8.875 kB / 1.124 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.9511, allocations: 0 / 1.124 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006271/0.9517, allocations: 88.81 kB / 1.124 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/0.9524, allocations: 163.8 kB / 1.124 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/0.9547, allocations: 1.547 MB / 1.126 GB, free: 344 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008612/0.9556, allocations: 99.31 kB / 1.126 GB, free: 244 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.9557, allocations: 40.03 kB / 1.126 GB, free: 204 kB / 0.8731 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.0006463/0.9563, allocations: 279.4 kB / 1.126 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.9566, allocations: 86.88 kB / 1.126 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002727/0.9593, allocations: 1.113 MB / 1.127 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.9593, allocations: 8 kB / 1.127 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.9594, allocations: 8 kB / 1.127 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.9594, allocations: 7.922 kB / 1.127 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.9609, allocations: 0.9426 MB / 1.128 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.9609, allocations: 3.984 kB / 1.128 GB, free: 13.69 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006329/0.9615, allocations: 151.8 kB / 1.128 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005556/0.9621, allocations: 84.72 kB / 1.128 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-05/0.9622, allocations: 27.97 kB / 1.128 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.9642, allocations: 1.567 MB / 1.13 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.9643, allocations: 3.984 kB / 1.13 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002333/0.9666, allocations: 0.9823 MB / 1.131 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005796/0.9672, allocations: 295.6 kB / 1.131 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.9674, allocations: 20 kB / 1.131 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007485/0.9681, allocations: 85.95 kB / 1.131 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.9684, allocations: 68.89 kB / 1.131 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.551e-05/0.9684, allocations: 35.98 kB / 1.131 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000875/0.9693, allocations: 495 kB / 1.132 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of sort global known variables: time 5.41e-07/0.9693, allocations: 0 / 1.132 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001063/0.9704, allocations: 331.1 kB / 1.132 GB, free: 9.395 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.001613/0.972, allocations: 0.6041 MB / 1.133 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002046/0.9741, allocations: 0.8744 MB / 1.134 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.9741, allocations: 3.984 kB / 1.134 GB, free: 8.078 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.9752, allocations: 0.5354 MB / 1.134 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.9767, allocations: 283.1 kB / 1.134 GB, free: 7.266 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005244/0.982, allocations: 2.437 MB / 1.137 GB, free: 4.797 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008842/0.9829, allocations: 1.043 MB / 1.138 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/0.9833, allocations: 119.4 kB / 1.138 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of SimCode: time 7.11e-07/0.9833, allocations: 4 kB / 1.138 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of Templates: time 0.03214/1.015, allocations: 19.29 MB / 1.157 GB, free: 364 kB / 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/jenkins1/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