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.265/2.265, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001119/0.001118, allocations: 188.2 kB / 487.4 MB, free: 5.043 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.657/1.657, allocations: 221.5 MB / 0.7824 GB, free: 0.9023 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.001118/0.001117, allocations: 99.84 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.227e-05, allocations: 3.984 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3294, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.589/4.918, allocations: 1.731 GB / 2.937 GB, free: 126.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/4.919, allocations: 85.7 kB / 2.937 GB, free: 126.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1431/5.062, allocations: 67.23 MB / 3.002 GB, free: 65.24 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.064e-06/5.062, allocations: 0 / 3.002 GB, free: 65.24 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001111/5.062, allocations: 24 kB / 3.002 GB, free: 65.21 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.002527/5.064, allocations: 1.115 MB / 3.004 GB, free: 64.04 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/5.064, allocations: 12.03 kB / 3.004 GB, free: 64.03 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/5.066, allocations: 218.4 kB / 3.004 GB, free: 63.82 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/5.067, allocations: 0.6308 MB / 3.004 GB, free: 63.14 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/5.067, allocations: 28 kB / 3.004 GB, free: 63.12 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/5.067, allocations: 52 kB / 3.004 GB, free: 63.07 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001537/5.069, allocations: 1.023 MB / 3.005 GB, free: 62.04 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/5.07, allocations: 0.7858 MB / 3.006 GB, free: 61.21 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/5.07, allocations: 7.938 kB / 3.006 GB, free: 61.21 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-05/5.07, allocations: 3.953 kB / 3.006 GB, free: 61.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/5.07, allocations: 24 kB / 3.006 GB, free: 61.18 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00366/5.074, allocations: 2.419 MB / 3.009 GB, free: 58.71 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008842/5.075, allocations: 0.7352 MB / 3.009 GB, free: 57.94 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/5.075, allocations: 243.2 kB / 3.01 GB, free: 57.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005803/5.076, allocations: 474.3 kB / 3.01 GB, free: 57.14 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005884/5.076, allocations: 387.8 kB / 3.01 GB, free: 56.75 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 3.627e-06/5.076, allocations: 0 / 3.01 GB, free: 56.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.004221/5.08, allocations: 1.195 MB / 3.012 GB, free: 55.54 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/5.08, allocations: 240.1 kB / 3.012 GB, free: 55.25 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006828/5.081, allocations: 0.4944 MB / 3.012 GB, free: 54.75 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.165e-05/5.081, allocations: 29.69 kB / 3.012 GB, free: 54.71 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/5.082, allocations: 404.1 kB / 3.013 GB, free: 54.31 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/5.082, allocations: 236.4 kB / 3.013 GB, free: 54.08 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/5.082, allocations: 0 / 3.013 GB, free: 54.08 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001128/5.082, allocations: 378.8 kB / 3.013 GB, free: 53.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/5.082, allocations: 185.5 kB / 3.013 GB, free: 53.52 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/5.082, allocations: 295.5 kB / 3.014 GB, free: 53.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00291/5.085, allocations: 0.7656 MB / 3.014 GB, free: 52.44 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/5.085, allocations: 4 kB / 3.014 GB, free: 52.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003893/5.089, allocations: 1.183 MB / 3.016 GB, free: 51.24 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/5.089, allocations: 7.984 kB / 3.016 GB, free: 51.23 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/5.089, allocations: 4 kB / 3.016 GB, free: 51.23 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/5.09, allocations: 80.78 kB / 3.016 GB, free: 51.14 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005924/5.091, allocations: 139.8 kB / 3.016 GB, free: 51.01 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/5.092, allocations: 1.458 MB / 3.017 GB, free: 49.42 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006015/5.093, allocations: 63.45 kB / 3.017 GB, free: 49.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/5.093, allocations: 32.05 kB / 3.017 GB, free: 49.32 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.0001511/5.093, allocations: 120.8 kB / 3.018 GB, free: 49.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/5.093, allocations: 75.09 kB / 3.018 GB, free: 49.12 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004441/5.098, allocations: 1.441 MB / 3.019 GB, free: 47.67 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/5.098, allocations: 8 kB / 3.019 GB, free: 47.66 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/5.098, allocations: 0 / 3.019 GB, free: 47.66 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/5.098, allocations: 3.984 kB / 3.019 GB, free: 47.66 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005211/5.103, allocations: 2.249 MB / 3.021 GB, free: 45.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/5.103, allocations: 0 / 3.021 GB, free: 45.36 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/5.103, allocations: 143.8 kB / 3.021 GB, free: 45.22 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000537/5.104, allocations: 88.8 kB / 3.021 GB, free: 45.13 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.488e-05/5.104, allocations: 15.98 kB / 3.021 GB, free: 45.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/5.105, allocations: 1.473 MB / 3.023 GB, free: 43.52 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/5.105, allocations: 0 / 3.023 GB, free: 43.52 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004132/5.11, allocations: 1.361 MB / 3.024 GB, free: 42.14 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005138/5.11, allocations: 279.8 kB / 3.024 GB, free: 41.85 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/5.11, allocations: 64 / 3.024 GB, free: 41.85 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006364/5.111, allocations: 55.95 kB / 3.025 GB, free: 41.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/5.111, allocations: 60.69 kB / 3.025 GB, free: 41.74 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/5.111, allocations: 31.98 kB / 3.025 GB, free: 41.71 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005137/5.112, allocations: 402.9 kB / 3.025 GB, free: 41.32 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.61e-07/5.112, allocations: 0 / 3.025 GB, free: 41.32 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001353/5.113, allocations: 358.9 kB / 3.025 GB, free: 40.96 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.002425/5.116, allocations: 1.107 MB / 3.026 GB, free: 39.96 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001121/5.117, allocations: 0.6477 MB / 3.027 GB, free: 39.31 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/5.117, allocations: 4 kB / 3.027 GB, free: 39.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006563/5.117, allocations: 452.4 kB / 3.027 GB, free: 38.86 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/5.119, allocations: 227.3 kB / 3.028 GB, free: 38.64 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/5.122, allocations: 1.325 MB / 3.029 GB, free: 37.28 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005429/5.123, allocations: 1.039 MB / 3.03 GB, free: 36.21 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008941/5.123, allocations: 253.7 kB / 3.03 GB, free: 35.96 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/5.124, allocations: 91.39 kB / 3.03 GB, free: 35.88 MB / 1.151 GB Notification: Performance of SimCode: time 1.442e-06/5.124, allocations: 0 / 3.03 GB, free: 35.88 MB / 1.151 GB Notification: Performance of Templates: time 0.02505/5.149, allocations: 15.78 MB / 3.046 GB, free: 20.22 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