Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.484/2.484, allocations: 390.3 MB / 405.3 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 179.2 kB / 498.1 MB, free: 5.605 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.688/1.688, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 104.3 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003697, allocations: 7.375 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3236, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.248/4.572, allocations: 1.731 GB / 2.954 GB, free: 288.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/4.572, allocations: 98.78 kB / 2.954 GB, free: 288.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.121/4.693, allocations: 59.06 MB / 3.012 GB, free: 229.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.456e-06/4.693, allocations: 0 / 3.012 GB, free: 229.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.23e-05/4.693, allocations: 23.94 kB / 3.012 GB, free: 229.1 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002026/4.695, allocations: 1.171 MB / 3.013 GB, free: 227.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/4.695, allocations: 8.031 kB / 3.013 GB, free: 227.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007987/4.696, allocations: 186.6 kB / 3.013 GB, free: 227.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009003/4.697, allocations: 0.6113 MB / 3.014 GB, free: 227 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/4.697, allocations: 58 kB / 3.014 GB, free: 226.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-05/4.697, allocations: 76 kB / 3.014 GB, free: 226.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/4.699, allocations: 0.8481 MB / 3.014 GB, free: 226 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/4.699, allocations: 7.938 kB / 3.014 GB, free: 226 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.507e-05/4.699, allocations: 35.95 kB / 3.015 GB, free: 225.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/4.699, allocations: 20 kB / 3.015 GB, free: 225.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/4.7, allocations: 1.057 MB / 3.016 GB, free: 224.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003058/4.703, allocations: 2.379 MB / 3.018 GB, free: 222.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/4.704, allocations: 0.7266 MB / 3.019 GB, free: 221.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.051e-05/4.704, allocations: 36.64 kB / 3.019 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005957/4.705, allocations: 419.1 kB / 3.019 GB, free: 221.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=71): time 2.805e-06/4.705, allocations: 4 kB / 3.019 GB, free: 221.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=71): time 0.002576/4.708, allocations: 1.081 MB / 3.02 GB, free: 220.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/4.708, allocations: 244 kB / 3.02 GB, free: 219.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006087/4.708, allocations: 0.5854 MB / 3.021 GB, free: 219.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/4.708, allocations: 37.7 kB / 3.021 GB, free: 219.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/4.709, allocations: 372.3 kB / 3.021 GB, free: 218.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/4.709, allocations: 236.5 kB / 3.022 GB, free: 218.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/4.709, allocations: 16 kB / 3.022 GB, free: 218.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.664e-05/4.709, allocations: 374.8 kB / 3.022 GB, free: 218.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/4.709, allocations: 213.2 kB / 3.022 GB, free: 217.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/4.71, allocations: 331.6 kB / 3.022 GB, free: 217.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/4.71, allocations: 263.1 kB / 3.023 GB, free: 217.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/4.71, allocations: 0 / 3.023 GB, free: 217.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001447/4.711, allocations: 0.7159 MB / 3.023 GB, free: 216.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/4.711, allocations: 4 kB / 3.023 GB, free: 216.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/4.712, allocations: 0 / 3.023 GB, free: 216.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/4.712, allocations: 88.78 kB / 3.023 GB, free: 216.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/4.713, allocations: 131.8 kB / 3.024 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/4.714, allocations: 1.539 MB / 3.025 GB, free: 214.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/4.715, allocations: 83.44 kB / 3.025 GB, free: 214.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/4.715, allocations: 23.98 kB / 3.025 GB, free: 214.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0004102/4.715, allocations: 259.6 kB / 3.025 GB, free: 214.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/4.716, allocations: 75.16 kB / 3.026 GB, free: 214.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/4.717, allocations: 0.9859 MB / 3.026 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/4.717, allocations: 8 kB / 3.026 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/4.717, allocations: 0 / 3.026 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/4.717, allocations: 7.969 kB / 3.026 GB, free: 213.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008129/4.718, allocations: 0.8528 MB / 3.027 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/4.718, allocations: 0 / 3.027 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/4.719, allocations: 139.8 kB / 3.027 GB, free: 212.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005176/4.719, allocations: 84.77 kB / 3.028 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/4.719, allocations: 23.98 kB / 3.028 GB, free: 212.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/4.721, allocations: 1.552 MB / 3.029 GB, free: 210.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/4.721, allocations: 0 / 3.029 GB, free: 210.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/4.722, allocations: 0.8381 MB / 3.03 GB, free: 209.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/4.723, allocations: 283.7 kB / 3.03 GB, free: 209.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.312e-05/4.723, allocations: 19.95 kB / 3.03 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004976/4.723, allocations: 59.95 kB / 3.03 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/4.724, allocations: 60.91 kB / 3.03 GB, free: 209.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.942e-05/4.724, allocations: 31.98 kB / 3.03 GB, free: 209.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005085/4.724, allocations: 483 kB / 3.031 GB, free: 208.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/4.724, allocations: 0 / 3.031 GB, free: 208.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001045/4.725, allocations: 351.2 kB / 3.031 GB, free: 208.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001935/4.727, allocations: 1.066 MB / 3.032 GB, free: 207.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001329/4.729, allocations: 0.7122 MB / 3.033 GB, free: 206.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/4.729, allocations: 4 kB / 3.033 GB, free: 206.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006888/4.729, allocations: 492.1 kB / 3.033 GB, free: 206.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009688/4.73, allocations: 233.1 kB / 3.034 GB, free: 205.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003532/4.734, allocations: 2.032 MB / 3.036 GB, free: 203.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/4.734, allocations: 1.015 MB / 3.037 GB, free: 202.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008467/4.735, allocations: 249.9 kB / 3.037 GB, free: 202.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002081/4.735, allocations: 91.39 kB / 3.037 GB, free: 202.5 MB / 1.167 GB Notification: Performance of SimCode: time 8.42e-07/4.735, allocations: 0 / 3.037 GB, free: 202.5 MB / 1.167 GB Notification: Performance of Templates: time 0.02777/4.763, allocations: 20.07 MB / 3.056 GB, free: 182.6 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches