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.001156/0.001156, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001233/0.001233, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.509/2.509, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.89 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7467/0.7487, allocations: 140.4 MB / 0.9491 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.00711/0.7558, allocations: 4.686 MB / 0.9537 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1728/0.9286, allocations: 148.8 MB / 1.099 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.9297, allocations: 15.94 kB / 1.099 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008211/0.9306, allocations: 170.8 kB / 1.099 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.9326, allocations: 0.5071 MB / 1.1 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.9348, allocations: 0.7633 MB / 1.1 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001732/0.9365, allocations: 1.355 MB / 1.102 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009903/0.9375, allocations: 0.6472 MB / 1.102 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008542/0.9384, allocations: 494.2 kB / 1.103 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006124/0.939, allocations: 0.5133 MB / 1.103 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/0.9392, allocations: 120 kB / 1.103 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.9403, allocations: 495.6 kB / 1.104 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.9406, allocations: 306.9 kB / 1.104 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005555/0.9412, allocations: 0.5712 MB / 1.105 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.9434, allocations: 1.659 MB / 1.106 GB, free: 500 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.9434, allocations: 0 / 1.106 GB, free: 500 kB / 0.8575 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9434, allocations: 0 / 1.106 GB, free: 500 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.281e-05/0.9434, allocations: 4 kB / 1.106 GB, free: 496 kB / 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.002823/0.9463, allocations: 1.492 MB / 1.108 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.9463, allocations: 16.03 kB / 1.108 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009988/0.9473, allocations: 195.3 kB / 1.108 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.9485, allocations: 0.7662 MB / 1.109 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.358e-05/0.9486, allocations: 62 kB / 1.109 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.9487, allocations: 88 kB / 1.109 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.9504, allocations: 0.9456 MB / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.9504, allocations: 0 / 1.11 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/0.9505, allocations: 36 kB / 1.11 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.9505, allocations: 24 kB / 1.11 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.9524, allocations: 1.128 MB / 1.111 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005671/0.9581, allocations: 2.593 MB / 1.114 GB, free: 8.938 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.9599, allocations: 0.8275 MB / 1.114 GB, free: 8.105 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006398/0.9606, allocations: 314.6 kB / 1.115 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/0.9608, allocations: 117.7 kB / 1.115 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.9619, allocations: 0.5069 MB / 1.115 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.885e-06/0.9619, allocations: 0 / 1.115 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.00396/0.9658, allocations: 1.248 MB / 1.116 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.966, allocations: 192.6 kB / 1.117 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.9671, allocations: 0.6842 MB / 1.117 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.375e-05/0.9672, allocations: 45.7 kB / 1.117 GB, free: 4.887 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.9676, allocations: 424.4 kB / 1.118 GB, free: 4.465 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.9678, allocations: 260.2 kB / 1.118 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/0.9681, allocations: 170.4 kB / 1.118 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.9683, allocations: 390.8 kB / 1.119 GB, free: 3.641 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/0.9689, allocations: 281.8 kB / 1.119 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006519/0.9695, allocations: 375.1 kB / 1.119 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.9707, allocations: 0.6385 MB / 1.12 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.9707, allocations: 0 / 1.12 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002173/0.9729, allocations: 0.8877 MB / 1.121 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.9729, allocations: 7.938 kB / 1.121 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.9729, allocations: 0 / 1.121 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/0.9736, allocations: 88.86 kB / 1.121 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007057/0.9743, allocations: 167.8 kB / 1.121 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.9766, allocations: 1.642 MB / 1.123 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009109/0.9776, allocations: 101.7 kB / 1.123 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/0.9776, allocations: 31.98 kB / 1.123 GB, free: 15.25 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.0005766/0.9782, allocations: 276.1 kB / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.9784, allocations: 94.86 kB / 1.123 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.9811, allocations: 1.105 MB / 1.124 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.9811, allocations: 8 kB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.9811, allocations: 3.938 kB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.9811, allocations: 15.97 kB / 1.124 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.9826, allocations: 0.9464 MB / 1.125 GB, free: 12.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.9826, allocations: 3.938 kB / 1.125 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006294/0.9832, allocations: 143.8 kB / 1.125 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004759/0.9837, allocations: 76.78 kB / 1.125 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.671e-05/0.9838, allocations: 31.92 kB / 1.125 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.9858, allocations: 1.674 MB / 1.127 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9858, allocations: 0 / 1.127 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.988, allocations: 0.9668 MB / 1.128 GB, free: 9.676 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.9884, allocations: 283.6 kB / 1.128 GB, free: 9.379 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.9885, allocations: 16 kB / 1.128 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006579/0.9892, allocations: 71.86 kB / 1.128 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.9893, allocations: 76.89 kB / 1.128 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-05/0.9894, allocations: 31.98 kB / 1.128 GB, free: 9.188 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006465/0.9901, allocations: 491 kB / 1.129 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9901, allocations: 0 / 1.129 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009072/0.991, allocations: 319.2 kB / 1.129 GB, free: 8.402 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.001413/0.9924, allocations: 0.6102 MB / 1.13 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002602/0.995, allocations: 1.073 MB / 1.131 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.995, allocations: 0 / 1.131 GB, free: 6.879 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009826/0.996, allocations: 0.5314 MB / 1.131 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.9974, allocations: 306.7 kB / 1.132 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/1.002, allocations: 2.313 MB / 1.134 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/1.002, allocations: 1.043 MB / 1.135 GB, free: 2.641 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009819/1.003, allocations: 266.8 kB / 1.135 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/1.004, allocations: 107.4 kB / 1.135 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of SimCode: time 1.042e-06/1.004, allocations: 0 / 1.135 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of Templates: time 0.02911/1.033, allocations: 15.27 MB / 1.15 GB, free: 3.172 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