Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.554/2.554, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001271/0.001271, allocations: 179 kB / 498.1 MB, free: 5.738 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.489/1.489, allocations: 223.2 MB / 0.7949 GB, free: 17.82 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.000866/0.000866, allocations: 100.2 kB / 0.9346 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003374, allocations: 11.53 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2533, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.24/4.493, allocations: 1.731 GB / 2.954 GB, free: 252.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004119/4.494, allocations: 95.56 kB / 2.954 GB, free: 252.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1442/4.638, allocations: 68.37 MB / 3.021 GB, free: 193.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.316e-06/4.638, allocations: 0 / 3.021 GB, free: 193.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.2e-05/4.638, allocations: 31.88 kB / 3.021 GB, free: 193.7 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002333/4.641, allocations: 1.235 MB / 3.022 GB, free: 192.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/4.641, allocations: 8.031 kB / 3.022 GB, free: 192.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/4.642, allocations: 210.5 kB / 3.023 GB, free: 192.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009853/4.643, allocations: 0.6374 MB / 3.023 GB, free: 191.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/4.643, allocations: 66.69 kB / 3.023 GB, free: 191.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/4.643, allocations: 89.73 kB / 3.023 GB, free: 191.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/4.644, allocations: 0.9418 MB / 3.024 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/4.644, allocations: 4 kB / 3.024 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.078e-05/4.644, allocations: 40.33 kB / 3.024 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/4.645, allocations: 20 kB / 3.024 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/4.646, allocations: 1.138 MB / 3.026 GB, free: 190 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/4.65, allocations: 2.583 MB / 3.028 GB, free: 187.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/4.651, allocations: 0.8451 MB / 3.029 GB, free: 187.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005967/4.651, allocations: 469.8 kB / 3.029 GB, free: 186.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007065/4.652, allocations: 448.4 kB / 3.03 GB, free: 186.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 3.817e-06/4.652, allocations: 0 / 3.03 GB, free: 186.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.002866/4.655, allocations: 1.111 MB / 3.031 GB, free: 185.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.413e-05/4.655, allocations: 251.9 kB / 3.031 GB, free: 185.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000728/4.656, allocations: 0.5988 MB / 3.032 GB, free: 184.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-05/4.656, allocations: 40.83 kB / 3.032 GB, free: 184.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/4.656, allocations: 399.8 kB / 3.032 GB, free: 184.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/4.656, allocations: 248.7 kB / 3.032 GB, free: 184.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/4.657, allocations: 14.69 kB / 3.032 GB, free: 184.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001081/4.657, allocations: 375.6 kB / 3.033 GB, free: 183.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/4.657, allocations: 234.6 kB / 3.033 GB, free: 183.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/4.658, allocations: 332 kB / 3.033 GB, free: 183.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/4.658, allocations: 268.7 kB / 3.033 GB, free: 183.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/4.658, allocations: 7.953 kB / 3.033 GB, free: 183.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001552/4.66, allocations: 0.7338 MB / 3.034 GB, free: 182.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/4.66, allocations: 4 kB / 3.034 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/4.66, allocations: 96 / 3.034 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/4.66, allocations: 88.08 kB / 3.034 GB, free: 182.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/4.661, allocations: 143.6 kB / 3.034 GB, free: 182.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/4.663, allocations: 1.53 MB / 3.036 GB, free: 181 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/4.663, allocations: 86.5 kB / 3.036 GB, free: 180.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.785e-05/4.663, allocations: 35.61 kB / 3.036 GB, free: 180.9 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 (75): * Single equations (assignments): 74 * 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.000516/4.664, allocations: 244 kB / 3.036 GB, free: 180.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/4.664, allocations: 79.06 kB / 3.036 GB, free: 180.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/4.666, allocations: 1.022 MB / 3.037 GB, free: 179.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/4.666, allocations: 11.95 kB / 3.037 GB, free: 179.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/4.666, allocations: 0 / 3.037 GB, free: 179.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/4.666, allocations: 3.984 kB / 3.037 GB, free: 179.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/4.669, allocations: 1.957 MB / 3.039 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/4.669, allocations: 0 / 3.039 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/4.67, allocations: 143 kB / 3.039 GB, free: 178.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005067/4.67, allocations: 88.83 kB / 3.039 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-05/4.67, allocations: 22.98 kB / 3.04 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/4.672, allocations: 1.562 MB / 3.041 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/4.672, allocations: 0 / 3.041 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/4.674, allocations: 0.9305 MB / 3.042 GB, free: 175.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004389/4.674, allocations: 286.8 kB / 3.042 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/4.674, allocations: 26.17 kB / 3.042 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000579/4.675, allocations: 65.41 kB / 3.042 GB, free: 175.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/4.675, allocations: 63.66 kB / 3.042 GB, free: 175.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.673e-05/4.675, allocations: 30.61 kB / 3.042 GB, free: 175.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000623/4.676, allocations: 492.3 kB / 3.043 GB, free: 175.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/4.676, allocations: 0 / 3.043 GB, free: 175.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001438/4.677, allocations: 382.7 kB / 3.043 GB, free: 174.8 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.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.002077/4.679, allocations: 1.091 MB / 3.044 GB, free: 173.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001514/4.681, allocations: 0.7396 MB / 3.045 GB, free: 173.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/4.681, allocations: 0 / 3.045 GB, free: 173.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007897/4.682, allocations: 0.4999 MB / 3.045 GB, free: 172.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/4.683, allocations: 239.1 kB / 3.046 GB, free: 172.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/4.687, allocations: 2.163 MB / 3.048 GB, free: 170.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/4.687, allocations: 1.038 MB / 3.049 GB, free: 169.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008779/4.688, allocations: 254.1 kB / 3.049 GB, free: 169.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/4.688, allocations: 105.4 kB / 3.049 GB, free: 169.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.182e-06/4.688, allocations: 0 / 3.049 GB, free: 169.3 MB / 1.167 GB Notification: Performance of Templates: time 0.02978/4.718, allocations: 20.62 MB / 3.069 GB, free: 148.8 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches