Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.435/2.435, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001218/0.001218, allocations: 173.1 kB / 498.1 MB, free: 5.758 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.677/1.677, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0009723/0.0009725, allocations: 98.81 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003558, allocations: 7 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2968, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.126/4.423, allocations: 1.732 GB / 2.954 GB, free: 194.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/4.423, allocations: 96.3 kB / 2.954 GB, free: 194.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1311/4.555, allocations: 65.76 MB / 3.019 GB, free: 138.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.315e-06/4.555, allocations: 0 / 3.019 GB, free: 138.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.267e-05/4.555, allocations: 23.94 kB / 3.019 GB, free: 138.2 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001859/4.556, allocations: 1.243 MB / 3.02 GB, free: 137 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/4.557, allocations: 12.03 kB / 3.02 GB, free: 136.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/4.558, allocations: 302.4 kB / 3.02 GB, free: 136.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/4.559, allocations: 0.6295 MB / 3.021 GB, free: 136.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/4.559, allocations: 70.12 kB / 3.021 GB, free: 136.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.221e-05/4.559, allocations: 84.06 kB / 3.021 GB, free: 136 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/4.561, allocations: 0.9989 MB / 3.022 GB, free: 135.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/4.561, allocations: 0 / 3.022 GB, free: 135.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.127e-05/4.561, allocations: 45.08 kB / 3.022 GB, free: 135.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/4.561, allocations: 24 kB / 3.022 GB, free: 135.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/4.563, allocations: 1.227 MB / 3.023 GB, free: 134.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003637/4.567, allocations: 2.605 MB / 3.026 GB, free: 132.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/4.569, allocations: 0.9412 MB / 3.027 GB, free: 131.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.991e-05/4.569, allocations: 31.11 kB / 3.027 GB, free: 131.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008732/4.57, allocations: 499.3 kB / 3.027 GB, free: 131 MB / 1.151 GB Notification: Performance of pre-optimization done (n=75): time 2.875e-06/4.57, allocations: 3.938 kB / 3.027 GB, free: 131 MB / 1.151 GB Notification: Performance of matching and sorting (n=75): time 0.003296/4.573, allocations: 1.255 MB / 3.028 GB, free: 130 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/4.573, allocations: 244 kB / 3.029 GB, free: 129.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006884/4.574, allocations: 0.5895 MB / 3.029 GB, free: 129.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/4.574, allocations: 42.77 kB / 3.029 GB, free: 129.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/4.574, allocations: 402.1 kB / 3.03 GB, free: 128.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/4.574, allocations: 254.6 kB / 3.03 GB, free: 128.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/4.574, allocations: 12.38 kB / 3.03 GB, free: 128.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.566e-05/4.574, allocations: 388 kB / 3.03 GB, free: 128.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000595/4.575, allocations: 270.1 kB / 3.031 GB, free: 128.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006454/4.576, allocations: 382.9 kB / 3.031 GB, free: 127.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/4.576, allocations: 315.5 kB / 3.031 GB, free: 127.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/4.576, allocations: 0 / 3.031 GB, free: 127.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001949/4.578, allocations: 0.829 MB / 3.032 GB, free: 127 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/4.578, allocations: 4.781 kB / 3.032 GB, free: 127 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/4.578, allocations: 0 / 3.032 GB, free: 127 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000592/4.579, allocations: 83.66 kB / 3.032 GB, free: 126.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006815/4.58, allocations: 157 kB / 3.032 GB, free: 126.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/4.581, allocations: 1.542 MB / 3.034 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007585/4.582, allocations: 103 kB / 3.034 GB, free: 125.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.149e-05/4.582, allocations: 28.97 kB / 3.034 GB, free: 125.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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.0004673/4.583, allocations: 253.9 kB / 3.034 GB, free: 124.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/4.583, allocations: 82.97 kB / 3.034 GB, free: 124.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/4.585, allocations: 1.131 MB / 3.035 GB, free: 123.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/4.585, allocations: 8 kB / 3.035 GB, free: 123.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/4.585, allocations: 4 kB / 3.035 GB, free: 123.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/4.585, allocations: 3.984 kB / 3.035 GB, free: 123.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/4.588, allocations: 2.073 MB / 3.037 GB, free: 121.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/4.589, allocations: 0 / 3.037 GB, free: 121.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006842/4.589, allocations: 175.8 kB / 3.038 GB, free: 121.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005091/4.59, allocations: 88.7 kB / 3.038 GB, free: 121.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/4.59, allocations: 23.92 kB / 3.038 GB, free: 121.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/4.591, allocations: 1.567 MB / 3.039 GB, free: 119.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/4.591, allocations: 0 / 3.039 GB, free: 119.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/4.593, allocations: 1.02 MB / 3.04 GB, free: 118.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/4.594, allocations: 299.7 kB / 3.04 GB, free: 118.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/4.594, allocations: 16 kB / 3.04 GB, free: 118.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006864/4.595, allocations: 91.98 kB / 3.041 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/4.595, allocations: 60.91 kB / 3.041 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.685e-05/4.595, allocations: 31.98 kB / 3.041 GB, free: 118 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000503/4.595, allocations: 487 kB / 3.041 GB, free: 117.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/4.595, allocations: 7.938 kB / 3.041 GB, free: 117.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00102/4.596, allocations: 375 kB / 3.041 GB, free: 117.2 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * 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.001684/4.598, allocations: 1.065 MB / 3.043 GB, free: 116.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001707/4.6, allocations: 0.8371 MB / 3.043 GB, free: 115.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/4.6, allocations: 0 / 3.043 GB, free: 115.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009082/4.601, allocations: 0.5509 MB / 3.044 GB, free: 114.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009292/4.602, allocations: 234 kB / 3.044 GB, free: 114.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/4.605, allocations: 2.238 MB / 3.046 GB, free: 112.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/4.606, allocations: 1.039 MB / 3.047 GB, free: 111.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008818/4.606, allocations: 282.1 kB / 3.048 GB, free: 111.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/4.607, allocations: 103.4 kB / 3.048 GB, free: 110.9 MB / 1.151 GB Notification: Performance of SimCode: time 5.81e-07/4.607, allocations: 0 / 3.048 GB, free: 110.9 MB / 1.151 GB Notification: Performance of Templates: time 0.02614/4.633, allocations: 20.74 MB / 3.068 GB, free: 90.34 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches