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.304/2.304, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001256/0.001256, allocations: 192.8 kB / 487.4 MB, free: 5.047 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.666/1.666, allocations: 221.5 MB / 0.7824 GB, free: 0.9102 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 99.72 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.28e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3342, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.28/4.614, allocations: 1.73 GB / 2.936 GB, free: 153.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/4.614, allocations: 95.94 kB / 2.936 GB, free: 153.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1196/4.734, allocations: 57.93 MB / 2.993 GB, free: 95.53 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.242e-06/4.734, allocations: 0 / 2.993 GB, free: 95.53 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.914e-05/4.734, allocations: 20 kB / 2.993 GB, free: 95.51 MB / 1.151 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.00158/4.735, allocations: 1.063 MB / 2.994 GB, free: 94.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/4.735, allocations: 8.031 kB / 2.994 GB, free: 94.39 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008602/4.736, allocations: 186.6 kB / 2.994 GB, free: 94.21 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007642/4.737, allocations: 0.5997 MB / 2.995 GB, free: 93.57 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/4.737, allocations: 24 kB / 2.995 GB, free: 93.55 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/4.737, allocations: 51.98 kB / 2.995 GB, free: 93.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001103/4.738, allocations: 0.9679 MB / 2.996 GB, free: 92.53 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009135/4.739, allocations: 0.7038 MB / 2.996 GB, free: 91.78 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/4.739, allocations: 0 / 2.996 GB, free: 91.78 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.852e-05/4.739, allocations: 7.953 kB / 2.996 GB, free: 91.77 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/4.739, allocations: 20 kB / 2.996 GB, free: 91.75 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/4.742, allocations: 2.224 MB / 2.999 GB, free: 89.48 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007105/4.743, allocations: 0.6349 MB / 2.999 GB, free: 88.82 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/4.743, allocations: 234.5 kB / 2.999 GB, free: 88.59 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.35e-05/4.743, allocations: 28.67 kB / 2.999 GB, free: 88.57 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004765/4.744, allocations: 383.6 kB / 3 GB, free: 88.17 MB / 1.151 GB Notification: Performance of pre-optimization done (n=71): time 3.366e-06/4.744, allocations: 3.984 kB / 3 GB, free: 88.17 MB / 1.151 GB Notification: Performance of matching and sorting (n=71): time 0.001278/4.745, allocations: 0.6329 MB / 3 GB, free: 87.52 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/4.745, allocations: 248.1 kB / 3.001 GB, free: 87.22 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/4.745, allocations: 0.5021 MB / 3.001 GB, free: 86.71 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/4.745, allocations: 25.7 kB / 3.001 GB, free: 86.68 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/4.746, allocations: 376.2 kB / 3.002 GB, free: 86.31 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/4.746, allocations: 220.7 kB / 3.002 GB, free: 86.09 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/4.746, allocations: 0 / 3.002 GB, free: 86.09 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.56e-05/4.746, allocations: 378.8 kB / 3.002 GB, free: 85.71 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/4.746, allocations: 185.5 kB / 3.002 GB, free: 85.53 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/4.746, allocations: 283.5 kB / 3.003 GB, free: 85.23 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/4.747, allocations: 228.4 kB / 3.003 GB, free: 85 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/4.747, allocations: 0 / 3.003 GB, free: 85 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001147/4.748, allocations: 0.6445 MB / 3.003 GB, free: 84.35 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/4.748, allocations: 7.984 kB / 3.003 GB, free: 84.34 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/4.748, allocations: 4 kB / 3.003 GB, free: 84.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/4.748, allocations: 76.84 kB / 3.003 GB, free: 84.26 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/4.749, allocations: 135.8 kB / 3.004 GB, free: 84.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/4.75, allocations: 1.454 MB / 3.005 GB, free: 82.55 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/4.751, allocations: 59.44 kB / 3.005 GB, free: 82.49 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/4.751, allocations: 27.98 kB / 3.005 GB, free: 82.46 MB / 1.151 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 () * 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.0001302/4.751, allocations: 120 kB / 3.005 GB, free: 82.34 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.25e-05/4.751, allocations: 83.09 kB / 3.005 GB, free: 82.26 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/4.753, allocations: 0.8677 MB / 3.006 GB, free: 81.38 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/4.753, allocations: 8 kB / 3.006 GB, free: 81.37 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/4.753, allocations: 7.938 kB / 3.006 GB, free: 81.36 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/4.753, allocations: 3.984 kB / 3.006 GB, free: 81.36 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/4.753, allocations: 0.7321 MB / 3.007 GB, free: 80.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/4.753, allocations: 0 / 3.007 GB, free: 80.59 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/4.754, allocations: 135.8 kB / 3.007 GB, free: 80.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004416/4.754, allocations: 84.77 kB / 3.007 GB, free: 80.37 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/4.754, allocations: 15.98 kB / 3.007 GB, free: 80.35 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/4.756, allocations: 1.477 MB / 3.009 GB, free: 78.75 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/4.756, allocations: 7.969 kB / 3.009 GB, free: 78.75 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/4.757, allocations: 0.7311 MB / 3.009 GB, free: 77.99 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/4.757, allocations: 275.9 kB / 3.01 GB, free: 77.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.165e-05/4.757, allocations: 0 / 3.01 GB, free: 77.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004759/4.758, allocations: 51.95 kB / 3.01 GB, free: 77.65 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.919e-05/4.758, allocations: 60.62 kB / 3.01 GB, free: 77.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/4.758, allocations: 31.98 kB / 3.01 GB, free: 77.56 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003655/4.758, allocations: 398.9 kB / 3.01 GB, free: 77.18 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/4.758, allocations: 0 / 3.01 GB, free: 77.18 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008512/4.759, allocations: 323.1 kB / 3.01 GB, free: 76.86 MB / 1.151 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) * 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.001558/4.761, allocations: 1.082 MB / 3.011 GB, free: 75.88 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009793/4.762, allocations: 0.6276 MB / 3.012 GB, free: 75.25 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/4.762, allocations: 0 / 3.012 GB, free: 75.25 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005331/4.762, allocations: 440.6 kB / 3.012 GB, free: 74.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/4.763, allocations: 230.6 kB / 3.013 GB, free: 74.59 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003166/4.766, allocations: 1.254 MB / 3.014 GB, free: 73.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/4.767, allocations: 1.015 MB / 3.015 GB, free: 72.26 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008115/4.767, allocations: 253.5 kB / 3.015 GB, free: 72.01 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/4.768, allocations: 91.39 kB / 3.015 GB, free: 71.92 MB / 1.151 GB Notification: Performance of SimCode: time 1.964e-06/4.768, allocations: 4 kB / 3.015 GB, free: 71.91 MB / 1.151 GB Notification: Performance of Templates: time 0.02193/4.79, allocations: 15.27 MB / 3.03 GB, free: 56.76 MB / 1.151 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