Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Obsolete.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_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.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.00143/0.00143, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001611/0.001611, allocations: 177.3 kB / 15.95 MB, free: 216 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.414/1.414, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.745/2.745, allocations: 436.5 MB / 0.7104 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004631, allocations: 15.98 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9822/0.9827, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005336/0.9881, allocations: 3.96 MB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1664/1.155, allocations: 127.9 MB / 1.15 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008189/1.155, allocations: 19.88 kB / 1.15 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004898/1.156, allocations: 103.2 kB / 1.15 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001742/1.158, allocations: 0.5519 MB / 1.15 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/1.16, allocations: 0.6406 MB / 1.151 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001352/1.161, allocations: 0.8494 MB / 1.152 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007103/1.162, allocations: 495.8 kB / 1.152 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005164/1.162, allocations: 350.5 kB / 1.152 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/1.163, allocations: 354.1 kB / 1.153 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.203e-05/1.163, allocations: 27.94 kB / 1.153 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008598/1.164, allocations: 331.6 kB / 1.153 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002068/1.164, allocations: 191.2 kB / 1.153 GB, free: 9.027 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001786/1.164, allocations: 197.1 kB / 1.154 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/1.165, allocations: 1.235 MB / 1.155 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.165, allocations: 4 kB / 1.155 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.325e-06/1.165, allocations: 0 / 1.155 GB, free: 7.586 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.061e-05/1.165, allocations: 0 / 1.155 GB, free: 7.586 MB / 0.9044 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.002383/1.168, allocations: 1.278 MB / 1.156 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/1.168, allocations: 12.03 kB / 1.156 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008867/1.169, allocations: 206.4 kB / 1.156 GB, free: 6.043 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/1.17, allocations: 0.7465 MB / 1.157 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/1.17, allocations: 65.94 kB / 1.157 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/1.17, allocations: 87.98 kB / 1.157 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/1.171, allocations: 0.9339 MB / 1.158 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/1.171, allocations: 7.938 kB / 1.158 GB, free: 4.121 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.863e-05/1.172, allocations: 36 kB / 1.158 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/1.172, allocations: 23.98 kB / 1.158 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/1.173, allocations: 1.136 MB / 1.159 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004103/1.177, allocations: 2.641 MB / 1.162 GB, free: 224 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/1.179, allocations: 0.8408 MB / 1.163 GB, free: 15.38 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/1.179, allocations: 117.7 kB / 1.163 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009148/1.18, allocations: 0.4991 MB / 1.163 GB, free: 14.73 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 3.006e-06/1.18, allocations: 0 / 1.163 GB, free: 14.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.00314/1.183, allocations: 1.261 MB / 1.164 GB, free: 13.44 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/1.183, allocations: 200.5 kB / 1.165 GB, free: 13.2 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000835/1.184, allocations: 0.6687 MB / 1.165 GB, free: 12.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/1.184, allocations: 41.7 kB / 1.165 GB, free: 12.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/1.185, allocations: 432.3 kB / 1.166 GB, free: 12.05 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/1.185, allocations: 264.2 kB / 1.166 GB, free: 11.79 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/1.185, allocations: 12 kB / 1.166 GB, free: 11.77 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.185, allocations: 337.9 kB / 1.166 GB, free: 11.44 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004892/1.185, allocations: 257.9 kB / 1.167 GB, free: 11.19 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005897/1.186, allocations: 374.5 kB / 1.167 GB, free: 10.79 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/1.187, allocations: 310.9 kB / 1.167 GB, free: 10.49 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.187, allocations: 0 / 1.167 GB, free: 10.49 MB / 0.92 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001864/1.188, allocations: 0.8487 MB / 1.168 GB, free: 9.633 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/1.189, allocations: 4 kB / 1.168 GB, free: 9.629 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.189, allocations: 7.938 kB / 1.168 GB, free: 9.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005925/1.189, allocations: 84.83 kB / 1.168 GB, free: 9.535 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/1.19, allocations: 155.7 kB / 1.168 GB, free: 9.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/1.192, allocations: 1.54 MB / 1.17 GB, free: 7.699 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008214/1.193, allocations: 103.3 kB / 1.17 GB, free: 7.598 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/1.193, allocations: 27.98 kB / 1.17 GB, free: 7.57 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0006183/1.194, allocations: 281.7 kB / 1.17 GB, free: 7.285 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/1.194, allocations: 86.88 kB / 1.17 GB, free: 7.199 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/1.196, allocations: 1.125 MB / 1.171 GB, free: 6.059 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.196, allocations: 8 kB / 1.171 GB, free: 6.051 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/1.196, allocations: 4 kB / 1.171 GB, free: 6.047 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/1.196, allocations: 7.969 kB / 1.171 GB, free: 6.039 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/1.198, allocations: 0.9581 MB / 1.172 GB, free: 5.031 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.198, allocations: 0 / 1.172 GB, free: 5.031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/1.198, allocations: 159.7 kB / 1.172 GB, free: 4.875 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/1.199, allocations: 84.77 kB / 1.173 GB, free: 4.789 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.753e-05/1.199, allocations: 23.98 kB / 1.173 GB, free: 4.766 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/1.201, allocations: 1.571 MB / 1.174 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.201, allocations: 0 / 1.174 GB, free: 3.059 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/1.202, allocations: 0.9668 MB / 1.175 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004429/1.203, allocations: 307.5 kB / 1.175 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/1.203, allocations: 19.95 kB / 1.175 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006282/1.204, allocations: 85.55 kB / 1.175 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/1.204, allocations: 72.89 kB / 1.175 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-05/1.204, allocations: 39.97 kB / 1.176 GB, free: 1.535 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000621/1.205, allocations: 483 kB / 1.176 GB, free: 1.066 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.205, allocations: 0 / 1.176 GB, free: 1.066 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009014/1.205, allocations: 319.2 kB / 1.176 GB, free: 0.7539 MB / 0.92 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.001389/1.207, allocations: 0.6138 MB / 1.177 GB, free: 320 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001678/1.209, allocations: 0.8314 MB / 1.178 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.209, allocations: 0 / 1.178 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009164/1.21, allocations: 0.5431 MB / 1.178 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/1.211, allocations: 253.8 kB / 1.178 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/1.215, allocations: 2.316 MB / 1.181 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006075/1.216, allocations: 1.063 MB / 1.182 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008987/1.217, allocations: 266.7 kB / 1.182 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/1.217, allocations: 111.4 kB / 1.182 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of SimCode: time 1.042e-06/1.217, allocations: 0 / 1.182 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of Templates: time 0.02705/1.244, allocations: 14.2 MB / 1.196 GB, free: 12.84 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.csv","../files/Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches