Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.504/2.504, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001789/0.00179, allocations: 177.8 kB / 0.4902 GB, free: 2.223 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.73/1.73, allocations: 223.2 MB / 0.7992 GB, free: 15.71 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.00121/0.00121, allocations: 100.2 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003952, allocations: 9.812 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3277, allocations: 143 MB / 1.229 GB, free: 85.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.148/4.476, allocations: 1.732 GB / 2.961 GB, free: 233.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/4.477, allocations: 97.41 kB / 2.962 GB, free: 233.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1983/4.675, allocations: 68.37 MB / 3.028 GB, free: 165 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.486e-06/4.675, allocations: 0 / 3.028 GB, free: 165 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001383/4.675, allocations: 27.94 kB / 3.028 GB, free: 164.9 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.003526/4.679, allocations: 1.231 MB / 3.03 GB, free: 163.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/4.679, allocations: 12.56 kB / 3.03 GB, free: 163.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/4.68, allocations: 214.5 kB / 3.03 GB, free: 163.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/4.681, allocations: 0.6269 MB / 3.03 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/4.681, allocations: 70 kB / 3.03 GB, free: 162.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/4.682, allocations: 88 kB / 3.031 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/4.683, allocations: 0.9418 MB / 3.031 GB, free: 161.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/4.683, allocations: 3.984 kB / 3.031 GB, free: 161.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.8e-05/4.683, allocations: 43.95 kB / 3.031 GB, free: 161.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/4.683, allocations: 23.98 kB / 3.032 GB, free: 161.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/4.685, allocations: 1.136 MB / 3.033 GB, free: 160.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003385/4.688, allocations: 2.604 MB / 3.035 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/4.689, allocations: 0.8335 MB / 3.036 GB, free: 156.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005846/4.69, allocations: 466.4 kB / 3.036 GB, free: 156.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000695/4.691, allocations: 447.2 kB / 3.037 GB, free: 155.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 3.446e-06/4.691, allocations: 0 / 3.037 GB, free: 155.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.002841/4.694, allocations: 1.116 MB / 3.038 GB, free: 154.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/4.694, allocations: 244 kB / 3.038 GB, free: 154.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007096/4.694, allocations: 0.601 MB / 3.039 GB, free: 153.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/4.694, allocations: 41.7 kB / 3.039 GB, free: 153.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/4.695, allocations: 404.3 kB / 3.039 GB, free: 153.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/4.695, allocations: 244.4 kB / 3.039 GB, free: 153.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/4.695, allocations: 12 kB / 3.039 GB, free: 153.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.496e-05/4.695, allocations: 378.8 kB / 3.04 GB, free: 152.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/4.695, allocations: 229.2 kB / 3.04 GB, free: 152.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004585/4.696, allocations: 335.6 kB / 3.04 GB, free: 152.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/4.696, allocations: 275.1 kB / 3.041 GB, free: 151.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/4.696, allocations: 3.953 kB / 3.041 GB, free: 151.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001571/4.698, allocations: 0.7353 MB / 3.041 GB, free: 151.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/4.698, allocations: 4.625 kB / 3.041 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/4.698, allocations: 0 / 3.041 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006089/4.699, allocations: 80.84 kB / 3.041 GB, free: 151.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/4.699, allocations: 151.8 kB / 3.042 GB, free: 150.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/4.701, allocations: 1.534 MB / 3.043 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006399/4.702, allocations: 83.44 kB / 3.043 GB, free: 149.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.885e-05/4.702, allocations: 27.94 kB / 3.043 GB, free: 149.1 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.0004727/4.702, allocations: 259.2 kB / 3.043 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/4.702, allocations: 75.06 kB / 3.043 GB, free: 148.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/4.704, allocations: 1.022 MB / 3.044 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/4.704, allocations: 11.95 kB / 3.044 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/4.704, allocations: 0 / 3.044 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/4.704, allocations: 3.984 kB / 3.044 GB, free: 147.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/4.707, allocations: 1.961 MB / 3.046 GB, free: 145.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/4.707, allocations: 0 / 3.046 GB, free: 145.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/4.708, allocations: 147.8 kB / 3.047 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004923/4.708, allocations: 80.78 kB / 3.047 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/4.708, allocations: 23.98 kB / 3.047 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/4.71, allocations: 1.559 MB / 3.048 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/4.71, allocations: 0 / 3.048 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/4.711, allocations: 0.9336 MB / 3.049 GB, free: 142.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/4.712, allocations: 287.8 kB / 3.049 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.78e-05/4.712, allocations: 16 kB / 3.049 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000576/4.712, allocations: 71.89 kB / 3.049 GB, free: 142.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/4.712, allocations: 57.2 kB / 3.049 GB, free: 142.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.365e-05/4.712, allocations: 35.97 kB / 3.05 GB, free: 142.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000509/4.713, allocations: 487 kB / 3.05 GB, free: 141.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.5e-07/4.713, allocations: 3.938 kB / 3.05 GB, free: 141.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001073/4.714, allocations: 390.9 kB / 3.05 GB, free: 141.5 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.001739/4.716, allocations: 1.085 MB / 3.051 GB, free: 140.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00141/4.717, allocations: 0.7433 MB / 3.052 GB, free: 139.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/4.717, allocations: 0 / 3.052 GB, free: 139.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007399/4.718, allocations: 496.4 kB / 3.053 GB, free: 139.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009518/4.719, allocations: 238.8 kB / 3.053 GB, free: 139.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/4.723, allocations: 2.174 MB / 3.055 GB, free: 136.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/4.723, allocations: 1.031 MB / 3.056 GB, free: 135.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008302/4.724, allocations: 270 kB / 3.056 GB, free: 135.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/4.724, allocations: 95.39 kB / 3.056 GB, free: 135.5 MB / 1.167 GB Notification: Performance of SimCode: time 7.42e-07/4.724, allocations: 0 / 3.056 GB, free: 135.5 MB / 1.167 GB Notification: Performance of Templates: time 0.02858/4.753, allocations: 20.64 MB / 3.076 GB, free: 115 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches