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.001147/0.001152, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001512/0.001513, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.3 MB / 240 MB, free: 5.422 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.554/2.554, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005053/0.0005055, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7374/0.7379, allocations: 142.4 MB / 0.9544 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.00465/0.7426, allocations: 4.031 MB / 0.9584 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1605/0.9031, allocations: 137.2 MB / 1.092 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009949/0.9042, allocations: 19.88 kB / 1.092 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007959/0.905, allocations: 154.8 kB / 1.092 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002196/0.9072, allocations: 489.8 kB / 1.093 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002644/0.9099, allocations: 0.643 MB / 1.094 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00275/0.9126, allocations: 1.172 MB / 1.095 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.9141, allocations: 0.4937 MB / 1.095 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009461/0.915, allocations: 338.4 kB / 1.096 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005371/0.9156, allocations: 378 kB / 1.096 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.254e-05/0.9157, allocations: 24 kB / 1.096 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009069/0.9166, allocations: 359.6 kB / 1.096 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.9168, allocations: 191.1 kB / 1.096 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.917, allocations: 209.1 kB / 1.097 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.9185, allocations: 1.224 MB / 1.098 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.9185, allocations: 0 / 1.098 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.106e-06/0.9185, allocations: 0 / 1.098 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.932e-05/0.9185, allocations: 0 / 1.098 GB, free: 12.29 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.002532/0.9211, allocations: 1.29 MB / 1.099 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.9211, allocations: 8.031 kB / 1.099 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008705/0.922, allocations: 198.4 kB / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.9231, allocations: 0.7388 MB / 1.1 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.118e-05/0.9232, allocations: 69.98 kB / 1.1 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.9233, allocations: 84 kB / 1.1 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.9249, allocations: 0.9417 MB / 1.101 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.925, allocations: 4 kB / 1.101 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.901e-05/0.9251, allocations: 39.95 kB / 1.101 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.9251, allocations: 24 kB / 1.101 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.927, allocations: 1.132 MB / 1.102 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.9311, allocations: 2.614 MB / 1.105 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.9326, allocations: 0.8431 MB / 1.106 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005853/0.9332, allocations: 322.7 kB / 1.106 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.9334, allocations: 113.7 kB / 1.106 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009304/0.9343, allocations: 0.5069 MB / 1.107 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=82): time 3.136e-06/0.9343, allocations: 3.938 kB / 1.107 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=82): time 0.003089/0.9374, allocations: 1.269 MB / 1.108 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.384e-05/0.9375, allocations: 192.6 kB / 1.108 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008705/0.9384, allocations: 0.6725 MB / 1.109 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/0.9385, allocations: 41.7 kB / 1.109 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.9388, allocations: 424.4 kB / 1.109 GB, free: 452 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.9391, allocations: 268 kB / 1.109 GB, free: 180 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.9391, allocations: 16 kB / 1.109 GB, free: 164 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.9393, allocations: 402.7 kB / 1.11 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.9399, allocations: 281.8 kB / 1.11 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006227/0.9405, allocations: 379.1 kB / 1.11 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000588/0.9411, allocations: 326.8 kB / 1.111 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.9411, allocations: 0 / 1.111 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001854/0.943, allocations: 0.8917 MB / 1.112 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.943, allocations: 8 kB / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.943, allocations: 0 / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005436/0.9436, allocations: 80.88 kB / 1.112 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/0.9442, allocations: 179.7 kB / 1.112 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.9462, allocations: 1.528 MB / 1.113 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007152/0.9469, allocations: 107.4 kB / 1.113 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.8e-05/0.947, allocations: 39.97 kB / 1.113 GB, free: 11.8 MB / 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004777/0.9475, allocations: 274.8 kB / 1.114 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.9476, allocations: 86.97 kB / 1.114 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/0.95, allocations: 1.128 MB / 1.115 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/0.9501, allocations: 8 kB / 1.115 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.9501, allocations: 0 / 1.115 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.9501, allocations: 7.984 kB / 1.115 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.9512, allocations: 0.9541 MB / 1.116 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.9512, allocations: 0 / 1.116 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/0.9518, allocations: 151.8 kB / 1.116 GB, free: 9.133 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004722/0.9523, allocations: 88.77 kB / 1.116 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.649e-05/0.9524, allocations: 31.97 kB / 1.116 GB, free: 9.012 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.9541, allocations: 1.544 MB / 1.118 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.9541, allocations: 0 / 1.118 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.9561, allocations: 0.9785 MB / 1.119 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004113/0.9565, allocations: 303.5 kB / 1.119 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.9566, allocations: 19.94 kB / 1.119 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006068/0.9572, allocations: 88.47 kB / 1.119 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.9574, allocations: 68.89 kB / 1.119 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-05/0.9575, allocations: 39.97 kB / 1.119 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006529/0.9581, allocations: 483 kB / 1.119 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9581, allocations: 4 kB / 1.12 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008802/0.959, allocations: 319.2 kB / 1.12 GB, free: 5.016 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001442/0.9605, allocations: 0.6178 MB / 1.12 GB, free: 4.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001732/0.9622, allocations: 0.8665 MB / 1.121 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9622, allocations: 0 / 1.121 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009236/0.9632, allocations: 0.5354 MB / 1.122 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.9644, allocations: 265.9 kB / 1.122 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004363/0.9687, allocations: 2.32 MB / 1.124 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.9694, allocations: 1.049 MB / 1.125 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009078/0.9703, allocations: 266.7 kB / 1.126 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.9706, allocations: 107.4 kB / 1.126 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of SimCode: time 5.81e-07/0.9706, allocations: 0 / 1.126 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of Templates: time 0.02625/0.9969, allocations: 14.21 MB / 1.14 GB, free: 1.051 MB / 0.8887 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