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.009141/0.009141, allocations: 101.3 kB / 15.73 MB, free: 6.438 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.001713/0.001713, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.385/2.385, allocations: 390.2 MB / 0.6648 GB, free: 140 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 66.39 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2907, allocations: 140.4 MB / 1.088 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.006189/0.297, allocations: 4.682 MB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1628/0.4598, allocations: 151 MB / 1.24 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.4609, allocations: 19.88 kB / 1.24 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009882/0.462, allocations: 222.1 kB / 1.24 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.4643, allocations: 0.577 MB / 1.241 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.4667, allocations: 0.855 MB / 1.242 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00167/0.4684, allocations: 1.355 MB / 1.243 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008278/0.4692, allocations: 0.6495 MB / 1.244 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006724/0.4699, allocations: 498.2 kB / 1.244 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005437/0.4704, allocations: 0.5133 MB / 1.245 GB, free: 464 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.4706, allocations: 120 kB / 1.245 GB, free: 344 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008779/0.4715, allocations: 0.4957 MB / 1.245 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.4717, allocations: 310.9 kB / 1.245 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004546/0.4722, allocations: 0.579 MB / 1.246 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.4739, allocations: 1.698 MB / 1.248 GB, free: 13.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4739, allocations: 0 / 1.248 GB, free: 13.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.046e-06/0.474, allocations: 0 / 1.248 GB, free: 13.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.474, allocations: 3.938 kB / 1.248 GB, free: 13.25 MB / 1.014 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.002366/0.4764, allocations: 1.485 MB / 1.249 GB, free: 11.71 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.4764, allocations: 8.031 kB / 1.249 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008692/0.4773, allocations: 195.3 kB / 1.249 GB, free: 11.51 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.4784, allocations: 0.7973 MB / 1.25 GB, free: 10.67 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.4784, allocations: 69.94 kB / 1.25 GB, free: 10.6 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.4786, allocations: 84 kB / 1.25 GB, free: 10.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.48, allocations: 0.9417 MB / 1.251 GB, free: 9.535 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.4801, allocations: 0 / 1.251 GB, free: 9.535 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/0.4801, allocations: 39.98 kB / 1.251 GB, free: 9.496 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.4802, allocations: 24 kB / 1.251 GB, free: 9.473 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001748/0.4819, allocations: 1.128 MB / 1.252 GB, free: 8.344 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003594/0.4855, allocations: 2.566 MB / 1.255 GB, free: 5.711 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.487, allocations: 0.8208 MB / 1.256 GB, free: 4.887 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005519/0.4876, allocations: 330.5 kB / 1.256 GB, free: 4.562 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000185/0.4878, allocations: 113.7 kB / 1.256 GB, free: 4.434 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008566/0.4886, allocations: 0.5031 MB / 1.256 GB, free: 3.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.044e-06/0.4886, allocations: 0 / 1.256 GB, free: 3.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003145/0.4918, allocations: 1.256 MB / 1.258 GB, free: 2.625 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.776e-05/0.4919, allocations: 188.6 kB / 1.258 GB, free: 2.398 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007533/0.4927, allocations: 0.6881 MB / 1.259 GB, free: 1.707 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.4927, allocations: 41.7 kB / 1.259 GB, free: 1.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.493, allocations: 424.4 kB / 1.259 GB, free: 1.238 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.4932, allocations: 264.2 kB / 1.259 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.4935, allocations: 166.5 kB / 1.259 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4936, allocations: 394.7 kB / 1.26 GB, free: 424 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/0.4942, allocations: 277.8 kB / 1.26 GB, free: 148 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6608/1.155, allocations: 370.9 kB / 1.26 GB, free: 173.9 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/1.157, allocations: 0.6368 MB / 1.261 GB, free: 173.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.157, allocations: 0 / 1.261 GB, free: 173.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002447/1.159, allocations: 0.8885 MB / 1.262 GB, free: 173.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/1.159, allocations: 9.031 kB / 1.262 GB, free: 173.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.159, allocations: 0.8125 kB / 1.262 GB, free: 173.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/1.16, allocations: 82.08 kB / 1.262 GB, free: 173.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007593/1.161, allocations: 164.6 kB / 1.262 GB, free: 173.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/1.163, allocations: 1.64 MB / 1.264 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008549/1.164, allocations: 96.36 kB / 1.264 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.884e-05/1.164, allocations: 33.64 kB / 1.264 GB, free: 172.2 MB / 1.014 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.0004654/1.164, allocations: 287.6 kB / 1.264 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/1.164, allocations: 89.06 kB / 1.264 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/1.167, allocations: 1.099 MB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/1.167, allocations: 9.344 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.167, allocations: 10.47 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/1.167, allocations: 4.172 kB / 1.265 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/1.168, allocations: 0.9474 MB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.168, allocations: 0 / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006491/1.169, allocations: 148.2 kB / 1.266 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004672/1.17, allocations: 76.36 kB / 1.266 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.73e-05/1.17, allocations: 25.48 kB / 1.267 GB, free: 171.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/1.171, allocations: 1.68 MB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.171, allocations: 3.938 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/1.174, allocations: 0.9639 MB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/1.174, allocations: 283.5 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/1.174, allocations: 18.3 kB / 1.269 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006377/1.175, allocations: 62.97 kB / 1.269 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/1.175, allocations: 77.05 kB / 1.27 GB, free: 168.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-05/1.175, allocations: 44.81 kB / 1.27 GB, free: 168.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007781/1.176, allocations: 489.5 kB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/1.176, allocations: 0 / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00117/1.177, allocations: 327.1 kB / 1.27 GB, free: 168.6 MB / 1.014 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.001475/1.179, allocations: 0.6078 MB / 1.271 GB, free: 168.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002101/1.181, allocations: 0.8632 MB / 1.272 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.181, allocations: 0.9688 kB / 1.272 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/1.182, allocations: 0.5309 MB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/1.183, allocations: 307.5 kB / 1.273 GB, free: 167.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005048/1.188, allocations: 1.869 MB / 1.274 GB, free: 166.8 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007286/1.189, allocations: 1.044 MB / 1.275 GB, free: 166.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001133/1.19, allocations: 266.2 kB / 1.276 GB, free: 166 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/1.19, allocations: 110.5 kB / 1.276 GB, free: 166 MB / 1.014 GB Notification: Performance of SimCode: time 1.373e-06/1.19, allocations: 0 / 1.276 GB, free: 166 MB / 1.014 GB Notification: Performance of Templates: time 0.02946/1.22, allocations: 15.56 MB / 1.291 GB, free: 162.4 MB / 1.014 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