Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001368/0.001369, allocations: 196.8 kB / 16.14 MB, free: 6.715 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 474.4 MB / 0.7465 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 68.53 kB / 0.9135 GB, free: 32.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4196, allocations: 160.3 MB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01072/0.4304, allocations: 8.345 MB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.182/0.6125, allocations: 149.5 MB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002224/0.6147, allocations: 27.88 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.6161, allocations: 238 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003496/0.6196, allocations: 0.7255 MB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.6228, allocations: 1.231 MB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003639/0.6264, allocations: 2.771 MB / 1.229 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.6284, allocations: 1.441 MB / 1.23 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.6301, allocations: 1.02 MB / 1.231 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001426/0.6316, allocations: 1.225 MB / 1.233 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003259/0.6319, allocations: 156 kB / 1.233 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.6331, allocations: 0.5113 MB / 1.233 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004925/0.6336, allocations: 0.537 MB / 1.234 GB, free: 216 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.6348, allocations: 1.174 MB / 1.235 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003553/0.6384, allocations: 3.454 MB / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.6384, allocations: 0 / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.634e-06/0.6384, allocations: 0 / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.726e-05/0.6385, allocations: 0 / 1.238 GB, free: 11.57 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006607/0.6451, allocations: 2.823 MB / 1.241 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.6452, allocations: 8.031 kB / 1.241 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01578/0.661, allocations: 2.116 MB / 1.243 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/0.6639, allocations: 1.27 MB / 1.244 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.6642, allocations: 164.5 kB / 1.245 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008505/0.665, allocations: 220 kB / 1.245 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.6757, allocations: 3.278 MB / 1.248 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.158e-05/0.6758, allocations: 0 / 1.248 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005707/0.6764, allocations: 99.94 kB / 1.248 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.745e-05/0.6765, allocations: 59.98 kB / 1.248 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7575/1.434, allocations: 4.196 MB / 1.252 GB, free: 179.4 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02/1.454, allocations: 8.087 MB / 1.26 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008809/1.463, allocations: 2.879 MB / 1.263 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00449/1.467, allocations: 1.497 MB / 1.264 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007821/1.468, allocations: 0.504 MB / 1.265 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005597/1.474, allocations: 1.84 MB / 1.267 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 4.368e-06/1.474, allocations: 2.062 kB / 1.267 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.0164/1.49, allocations: 4.471 MB / 1.271 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001893/1.49, allocations: 208.4 kB / 1.271 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/1.493, allocations: 0.9482 MB / 1.272 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002511/1.493, allocations: 64.12 kB / 1.272 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000746/1.494, allocations: 0.7426 MB / 1.273 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000744/1.495, allocations: 0.6825 MB / 1.274 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009037/1.496, allocations: 392.5 kB / 1.274 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.976e-05/1.496, allocations: 307.1 kB / 1.274 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00443/1.5, allocations: 1.258 MB / 1.276 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004753/1.505, allocations: 1.445 MB / 1.277 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008404/1.513, allocations: 2.604 MB / 1.279 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/1.513, allocations: 5.125 kB / 1.279 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01032/1.524, allocations: 3.121 MB / 1.283 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/1.524, allocations: 12.45 kB / 1.283 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/1.524, allocations: 5.344 kB / 1.283 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005998/1.524, allocations: 88.62 kB / 1.283 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003737/1.528, allocations: 0.5988 MB / 1.283 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/1.53, allocations: 1.538 MB / 1.285 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/1.534, allocations: 372.4 kB / 1.285 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002767/1.534, allocations: 99.27 kB / 1.285 GB, free: 165.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.001337/1.535, allocations: 451.8 kB / 1.286 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004723/1.536, allocations: 155.9 kB / 1.286 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/1.547, allocations: 3.719 MB / 1.289 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/1.547, allocations: 22.66 kB / 1.289 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/1.547, allocations: 0 / 1.289 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/1.547, allocations: 12.86 kB / 1.289 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/1.551, allocations: 2.456 MB / 1.292 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/1.551, allocations: 0 / 1.292 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003608/1.554, allocations: 0.5662 MB / 1.292 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000569/1.555, allocations: 84.06 kB / 1.292 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002297/1.555, allocations: 79.44 kB / 1.293 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/1.557, allocations: 1.548 MB / 1.294 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/1.557, allocations: 4.922 kB / 1.294 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/1.567, allocations: 3.209 MB / 1.297 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.569, allocations: 0.5477 MB / 1.298 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003511/1.569, allocations: 51.66 kB / 1.298 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002824/1.572, allocations: 284.2 kB / 1.298 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003307/1.572, allocations: 148.5 kB / 1.298 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/1.572, allocations: 98.77 kB / 1.298 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009763/1.573, allocations: 0.6981 MB / 1.299 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.573, allocations: 0 / 1.299 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002317/1.576, allocations: 0.6771 MB / 1.3 GB, free: 156.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001774/1.577, allocations: 0.6682 MB / 1.3 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00936/1.587, allocations: 3.159 MB / 1.303 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.587, allocations: 0 / 1.303 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004656/1.592, allocations: 1.755 MB / 1.305 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/1.593, allocations: 361.9 kB / 1.305 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008886/1.602, allocations: 5.085 MB / 1.31 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007731/1.603, allocations: 1.423 MB / 1.312 GB, free: 146.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003763/1.607, allocations: 0.5716 MB / 1.312 GB, free: 146.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/1.608, allocations: 239.2 kB / 1.313 GB, free: 146 MB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/1.608, allocations: 0 / 1.313 GB, free: 146 MB / 0.9981 GB Notification: Performance of Templates: time 0.05757/1.666, allocations: 30.12 MB / 1.342 GB, free: 116 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches