Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_11_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_11_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.001793/0.001793, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002003/0.002003, allocations: 189.1 kB / 16.25 MB, free: 6.637 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.441/1.441, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.967/2.967, allocations: 469.8 MB / 0.7421 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 66.81 kB / 0.908 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3519, allocations: 159.2 MB / 1.063 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01077/0.3627, allocations: 8.349 MB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1858/0.5486, allocations: 149.6 MB / 1.218 GB, free: 80 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001718/0.5504, allocations: 23.88 kB / 1.218 GB, free: 56 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.5518, allocations: 234.1 kB / 1.218 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003454/0.5553, allocations: 0.7482 MB / 1.219 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.5587, allocations: 1.243 MB / 1.22 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00444/0.5632, allocations: 2.982 MB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002784/0.566, allocations: 1.5 MB / 1.224 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002294/0.5683, allocations: 1.188 MB / 1.225 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002375/0.5707, allocations: 1.338 MB / 1.227 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001042/0.5718, allocations: 332 kB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.5737, allocations: 0.6754 MB / 1.228 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.5749, allocations: 0.6972 MB / 1.228 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002516/0.5774, allocations: 1.338 MB / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005953/0.5834, allocations: 3.591 MB / 1.233 GB, free: 108 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.5834, allocations: 0 / 1.233 GB, free: 108 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5834, allocations: 7.938 kB / 1.233 GB, free: 100 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001366/0.5836, allocations: 0 / 1.233 GB, free: 100 kB / 0.9825 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.008965/0.5925, allocations: 2.823 MB / 1.236 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.5926, allocations: 12.03 kB / 1.236 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01658/0.6092, allocations: 2.104 MB / 1.238 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.6124, allocations: 1.266 MB / 1.239 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.6126, allocations: 172.5 kB / 1.239 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006134/0.6132, allocations: 216 kB / 1.24 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/0.6234, allocations: 3.282 MB / 1.243 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.715e-05/0.6235, allocations: 0 / 1.243 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003065/0.6238, allocations: 92 kB / 1.243 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-05/0.6239, allocations: 56 kB / 1.243 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01405/0.638, allocations: 4.205 MB / 1.247 GB, free: 1.637 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.5528/1.191, allocations: 8.089 MB / 1.255 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008323/1.199, allocations: 2.886 MB / 1.258 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003933/1.203, allocations: 1.489 MB / 1.259 GB, free: 181 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006439/1.204, allocations: 0.5053 MB / 1.26 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004792/1.209, allocations: 1.845 MB / 1.262 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=213): time 3.938e-06/1.209, allocations: 2.625 kB / 1.262 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213): time 0.01412/1.223, allocations: 4.472 MB / 1.266 GB, free: 179 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/1.223, allocations: 203.8 kB / 1.266 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/1.224, allocations: 0.9448 MB / 1.267 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000263/1.225, allocations: 63.84 kB / 1.267 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000551/1.225, allocations: 0.7472 MB / 1.268 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005227/1.226, allocations: 0.676 MB / 1.268 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007651/1.226, allocations: 396.8 kB / 1.269 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.955e-05/1.226, allocations: 301.1 kB / 1.269 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004343/1.231, allocations: 1.258 MB / 1.27 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004796/1.236, allocations: 1.442 MB / 1.272 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008282/1.244, allocations: 2.608 MB / 1.274 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/1.244, allocations: 1.406 kB / 1.274 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01058/1.255, allocations: 3.124 MB / 1.277 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/1.255, allocations: 6.797 kB / 1.277 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.255, allocations: 5.344 kB / 1.277 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000635/1.255, allocations: 85.78 kB / 1.277 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004125/1.259, allocations: 0.6065 MB / 1.278 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/1.262, allocations: 1.655 MB / 1.28 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003701/1.266, allocations: 379.8 kB / 1.28 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004852/1.266, allocations: 99.64 kB / 1.28 GB, free: 171.9 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.001661/1.268, allocations: 435.3 kB / 1.281 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008401/1.269, allocations: 156.4 kB / 1.281 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/1.281, allocations: 3.719 MB / 1.284 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/1.281, allocations: 29.97 kB / 1.284 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/1.281, allocations: 0 / 1.284 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.098e-05/1.281, allocations: 10.31 kB / 1.284 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/1.285, allocations: 2.461 MB / 1.287 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.117e-05/1.285, allocations: 1.25 kB / 1.287 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003461/1.288, allocations: 0.558 MB / 1.287 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004826/1.289, allocations: 82.08 kB / 1.287 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003216/1.289, allocations: 70.97 kB / 1.287 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/1.291, allocations: 1.669 MB / 1.289 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.291, allocations: 3.938 kB / 1.289 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/1.301, allocations: 3.208 MB / 1.292 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001156/1.302, allocations: 0.5448 MB / 1.293 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005797/1.303, allocations: 51.62 kB / 1.293 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003018/1.306, allocations: 276.9 kB / 1.293 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003705/1.306, allocations: 153.6 kB / 1.293 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002779/1.306, allocations: 94.09 kB / 1.293 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001127/1.307, allocations: 0.6989 MB / 1.294 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.307, allocations: 0 / 1.294 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002219/1.31, allocations: 0.6776 MB / 1.295 GB, free: 164.1 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.00215/1.312, allocations: 0.6618 MB / 1.295 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01281/1.325, allocations: 3.678 MB / 1.299 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.325, allocations: 0 / 1.299 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004734/1.329, allocations: 1.754 MB / 1.301 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/1.332, allocations: 400.6 kB / 1.301 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008935/1.341, allocations: 5.089 MB / 1.306 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/1.342, allocations: 1.426 MB / 1.307 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003742/1.346, allocations: 0.5678 MB / 1.308 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/1.347, allocations: 239.2 kB / 1.308 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of SimCode: time 7.32e-07/1.347, allocations: 0 / 1.308 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04681/1.394, allocations: 31.27 MB / 1.339 GB, free: 123.5 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches