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.31/2.31, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001088/0.001088, allocations: 175.1 kB / 492.3 MB, free: 0.6094 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.699/1.699, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0008855/0.0008856, allocations: 98.94 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.627e-05/2.64e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3346, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.65/4.985, allocations: 1.731 GB / 2.944 GB, free: 133.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/4.985, allocations: 87.95 kB / 2.944 GB, free: 133.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1419/5.127, allocations: 68.06 MB / 3.01 GB, free: 65.48 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.466e-06/5.127, allocations: 4 kB / 3.01 GB, free: 65.48 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.964e-05/5.127, allocations: 20 kB / 3.01 GB, free: 65.46 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002316/5.13, allocations: 1.13 MB / 3.011 GB, free: 64.27 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.007e-05/5.13, allocations: 8.031 kB / 3.011 GB, free: 64.27 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/5.131, allocations: 214.4 kB / 3.012 GB, free: 64.05 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/5.132, allocations: 0.6269 MB / 3.012 GB, free: 63.38 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/5.132, allocations: 70 kB / 3.012 GB, free: 63.31 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/5.132, allocations: 84 kB / 3.012 GB, free: 63.23 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/5.134, allocations: 0.9068 MB / 3.013 GB, free: 62.29 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/5.134, allocations: 4 kB / 3.013 GB, free: 62.28 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.099e-05/5.134, allocations: 43.98 kB / 3.013 GB, free: 62.24 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/5.134, allocations: 23.95 kB / 3.013 GB, free: 62.21 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/5.135, allocations: 1.073 MB / 3.014 GB, free: 61.14 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/5.139, allocations: 2.602 MB / 3.017 GB, free: 58.47 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/5.14, allocations: 0.7802 MB / 3.018 GB, free: 57.66 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/5.141, allocations: 275.2 kB / 3.018 GB, free: 57.39 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005861/5.141, allocations: 470.5 kB / 3.018 GB, free: 56.84 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000577/5.142, allocations: 425.2 kB / 3.019 GB, free: 56.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.855e-06/5.142, allocations: 96 / 3.019 GB, free: 56.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.0015/5.143, allocations: 0.6914 MB / 3.02 GB, free: 55.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/5.143, allocations: 240.1 kB / 3.02 GB, free: 55.41 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006498/5.144, allocations: 0.5895 MB / 3.02 GB, free: 54.81 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/5.144, allocations: 41.7 kB / 3.02 GB, free: 54.76 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/5.144, allocations: 408.1 kB / 3.021 GB, free: 54.36 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/5.145, allocations: 240.5 kB / 3.021 GB, free: 54.12 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/5.145, allocations: 12 kB / 3.021 GB, free: 54.11 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/5.145, allocations: 378.8 kB / 3.021 GB, free: 53.73 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/5.145, allocations: 205.5 kB / 3.022 GB, free: 53.52 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/5.145, allocations: 305.1 kB / 3.022 GB, free: 53.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/5.146, allocations: 250 kB / 3.022 GB, free: 52.95 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/5.146, allocations: 0 / 3.022 GB, free: 52.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001297/5.147, allocations: 0.6953 MB / 3.023 GB, free: 52.25 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/5.147, allocations: 7.984 kB / 3.023 GB, free: 52.24 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/5.147, allocations: 0 / 3.023 GB, free: 52.24 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005539/5.148, allocations: 80.84 kB / 3.023 GB, free: 52.16 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/5.148, allocations: 143.8 kB / 3.023 GB, free: 52.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/5.15, allocations: 1.516 MB / 3.024 GB, free: 50.36 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/5.15, allocations: 79.42 kB / 3.025 GB, free: 50.29 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/5.151, allocations: 36.05 kB / 3.025 GB, free: 50.25 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 (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.0001635/5.151, allocations: 144.8 kB / 3.025 GB, free: 50.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/5.151, allocations: 75.06 kB / 3.025 GB, free: 50.03 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/5.153, allocations: 0.9616 MB / 3.026 GB, free: 49.05 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/5.153, allocations: 15.95 kB / 3.026 GB, free: 49.03 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/5.153, allocations: 0 / 3.026 GB, free: 49.03 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/5.153, allocations: 3.984 kB / 3.026 GB, free: 49.03 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/5.155, allocations: 1.889 MB / 3.028 GB, free: 47.08 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/5.155, allocations: 0 / 3.028 GB, free: 47.08 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/5.156, allocations: 151.8 kB / 3.028 GB, free: 46.93 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004744/5.156, allocations: 80.78 kB / 3.028 GB, free: 46.85 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/5.157, allocations: 19.98 kB / 3.028 GB, free: 46.83 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/5.158, allocations: 1.544 MB / 3.029 GB, free: 45.14 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/5.158, allocations: 0 / 3.029 GB, free: 45.14 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/5.159, allocations: 0.8689 MB / 3.03 GB, free: 44.25 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/5.16, allocations: 287.8 kB / 3.03 GB, free: 43.95 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-05/5.16, allocations: 19.94 kB / 3.031 GB, free: 43.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005578/5.16, allocations: 71.91 kB / 3.031 GB, free: 43.86 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/5.161, allocations: 64.62 kB / 3.031 GB, free: 43.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/5.161, allocations: 27.98 kB / 3.031 GB, free: 43.77 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006212/5.161, allocations: 487.1 kB / 3.031 GB, free: 43.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/5.161, allocations: 4 kB / 3.031 GB, free: 43.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001169/5.162, allocations: 390.9 kB / 3.032 GB, free: 42.91 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) * 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.001822/5.164, allocations: 1.053 MB / 3.033 GB, free: 42.01 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001206/5.165, allocations: 0.6828 MB / 3.033 GB, free: 41.32 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/5.165, allocations: 0 / 3.033 GB, free: 41.32 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006228/5.166, allocations: 479 kB / 3.034 GB, free: 40.84 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/5.167, allocations: 228.5 kB / 3.034 GB, free: 40.62 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/5.17, allocations: 1.371 MB / 3.035 GB, free: 39.22 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/5.171, allocations: 1.035 MB / 3.036 GB, free: 38.16 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008015/5.171, allocations: 270 kB / 3.036 GB, free: 37.89 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/5.172, allocations: 99.39 kB / 3.037 GB, free: 37.79 MB / 1.151 GB Notification: Performance of SimCode: time 1.553e-06/5.172, allocations: 0 / 3.037 GB, free: 37.79 MB / 1.151 GB Notification: Performance of Templates: time 0.02746/5.199, allocations: 22.29 MB / 3.058 GB, free: 15.61 MB / 1.151 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