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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001249/0.001249, allocations: 102.2 kB / 16.4 MB, free: 6.465 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.001175/0.001175, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.337/2.337, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.91 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6392/0.6403, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008315/0.6486, allocations: 8.409 MB / 1.217 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1359/0.7846, allocations: 151.8 MB / 1.365 GB, free: 12.8 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.7858, allocations: 23.88 kB / 1.365 GB, free: 12.77 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009538/0.7868, allocations: 324.7 kB / 1.365 GB, free: 12.45 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002521/0.7893, allocations: 0.8608 MB / 1.366 GB, free: 11.59 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.792, allocations: 1.379 MB / 1.367 GB, free: 10.21 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003286/0.7953, allocations: 3.005 MB / 1.37 GB, free: 7.203 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.7973, allocations: 1.484 MB / 1.372 GB, free: 5.66 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001524/0.7988, allocations: 1.203 MB / 1.373 GB, free: 4.453 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/0.8005, allocations: 1.35 MB / 1.374 GB, free: 3.098 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005619/0.8011, allocations: 324 kB / 1.375 GB, free: 2.781 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.8024, allocations: 0.7105 MB / 1.375 GB, free: 2.07 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006113/0.803, allocations: 0.6894 MB / 1.376 GB, free: 1.379 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.8043, allocations: 1.338 MB / 1.377 GB, free: 36 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003044/0.8074, allocations: 3.658 MB / 1.381 GB, free: 12.37 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.8074, allocations: 0 / 1.381 GB, free: 12.37 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.112e-06/0.8074, allocations: 3.938 kB / 1.381 GB, free: 12.36 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.75e-05/0.8074, allocations: 0 / 1.381 GB, free: 12.36 MB / 1.107 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.005085/0.8125, allocations: 2.827 MB / 1.384 GB, free: 9.457 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.8125, allocations: 12.03 kB / 1.384 GB, free: 9.445 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01459/0.8271, allocations: 2.112 MB / 1.386 GB, free: 7.328 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.8292, allocations: 1.29 MB / 1.387 GB, free: 5.992 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.8293, allocations: 168.5 kB / 1.387 GB, free: 5.824 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003301/0.8297, allocations: 216 kB / 1.387 GB, free: 5.613 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007632/0.8373, allocations: 3.282 MB / 1.39 GB, free: 2.238 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/0.8374, allocations: 3.938 kB / 1.391 GB, free: 2.234 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.8376, allocations: 92 kB / 1.391 GB, free: 2.145 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.8376, allocations: 56 kB / 1.391 GB, free: 2.09 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/0.849, allocations: 4.201 MB / 1.395 GB, free: 13.87 MB / 1.123 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.01402/0.863, allocations: 8.041 MB / 1.403 GB, free: 5.555 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008188/0.8712, allocations: 2.879 MB / 1.405 GB, free: 2.672 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003956/0.8752, allocations: 1.485 MB / 1.407 GB, free: 1.18 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006604/0.8759, allocations: 0.5035 MB / 1.407 GB, free: 0.582 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004538/0.8804, allocations: 1.855 MB / 1.409 GB, free: 14.71 MB / 1.139 GB Notification: Performance of pre-optimization done (n=213): time 4.087e-06/0.8804, allocations: 0 / 1.409 GB, free: 14.71 MB / 1.139 GB Notification: Performance of matching and sorting (n=213): time 0.0138/0.8942, allocations: 4.474 MB / 1.414 GB, free: 10.21 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.8944, allocations: 205.9 kB / 1.414 GB, free: 9.965 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.8957, allocations: 0.9447 MB / 1.415 GB, free: 9 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001992/0.8959, allocations: 69.7 kB / 1.415 GB, free: 8.926 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006231/0.8966, allocations: 0.7388 MB / 1.415 GB, free: 8.176 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006142/0.8972, allocations: 0.6775 MB / 1.416 GB, free: 7.488 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007184/0.8979, allocations: 391.2 kB / 1.416 GB, free: 7.098 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.486e-05/0.898, allocations: 305.1 kB / 1.417 GB, free: 6.797 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003981/0.902, allocations: 1.257 MB / 1.418 GB, free: 5.539 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004119/0.9061, allocations: 1.437 MB / 1.419 GB, free: 4.082 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007893/0.914, allocations: 2.614 MB / 1.422 GB, free: 1.449 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.914, allocations: 0 / 1.422 GB, free: 1.449 MB / 1.139 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.009441/0.9235, allocations: 3.124 MB / 1.425 GB, free: 14.31 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.9235, allocations: 8 kB / 1.425 GB, free: 14.3 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.9236, allocations: 3.984 kB / 1.425 GB, free: 14.3 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005518/0.9241, allocations: 88.84 kB / 1.425 GB, free: 14.21 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003454/0.9276, allocations: 0.6046 MB / 1.426 GB, free: 13.61 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.9294, allocations: 1.634 MB / 1.427 GB, free: 11.82 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/0.9324, allocations: 368.1 kB / 1.428 GB, free: 11.46 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000249/0.9326, allocations: 95.89 kB / 1.428 GB, free: 11.37 MB / 1.154 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.0009372/0.9336, allocations: 440 kB / 1.428 GB, free: 10.93 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004379/0.934, allocations: 158 kB / 1.428 GB, free: 10.77 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/0.9446, allocations: 3.72 MB / 1.432 GB, free: 7.031 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.9446, allocations: 20 kB / 1.432 GB, free: 7.012 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9446, allocations: 112 / 1.432 GB, free: 7.012 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.9447, allocations: 15.91 kB / 1.432 GB, free: 6.996 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.9474, allocations: 2.436 MB / 1.434 GB, free: 4.512 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.9474, allocations: 7.938 kB / 1.434 GB, free: 4.504 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003266/0.9507, allocations: 0.5616 MB / 1.435 GB, free: 3.941 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004236/0.9512, allocations: 80.72 kB / 1.435 GB, free: 3.859 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/0.9514, allocations: 79.84 kB / 1.435 GB, free: 3.781 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.953, allocations: 1.65 MB / 1.437 GB, free: 1.988 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.9531, allocations: 4.062 kB / 1.437 GB, free: 1.984 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009126/0.9622, allocations: 3.21 MB / 1.44 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008258/0.963, allocations: 0.549 MB / 1.44 GB, free: 14.18 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003652/0.9634, allocations: 47.88 kB / 1.44 GB, free: 14.14 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002697/0.9661, allocations: 271.7 kB / 1.441 GB, free: 13.87 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/0.9664, allocations: 149.8 kB / 1.441 GB, free: 13.72 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000202/0.9666, allocations: 99.97 kB / 1.441 GB, free: 13.62 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009432/0.9676, allocations: 0.6958 MB / 1.442 GB, free: 12.92 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9676, allocations: 0 / 1.442 GB, free: 12.92 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001544/0.9691, allocations: 0.6778 MB / 1.442 GB, free: 12.24 MB / 1.17 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.001437/0.9706, allocations: 0.6691 MB / 1.443 GB, free: 11.75 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.008991/0.9796, allocations: 3.163 MB / 1.446 GB, free: 8.57 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.9796, allocations: 0 / 1.446 GB, free: 8.57 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004719/0.9843, allocations: 1.763 MB / 1.448 GB, free: 6.797 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.9861, allocations: 383.9 kB / 1.448 GB, free: 6.441 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00832/0.9944, allocations: 4.122 MB / 1.452 GB, free: 2.277 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009791/0.9954, allocations: 1.43 MB / 1.453 GB, free: 0.8164 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/0.9968, allocations: 283.2 kB / 1.454 GB, free: 0.5391 MB / 1.17 GB Notification: Performance of SimCode: time 5.61e-07/0.9969, allocations: 4 kB / 1.454 GB, free: 0.5352 MB / 1.17 GB Notification: Performance of Templates: time 0.04642/1.043, allocations: 42.45 MB / 1.495 GB, free: 6.133 MB / 1.217 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches