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.531/2.531, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001357/0.001357, allocations: 180.8 kB / 487.4 MB, free: 5.004 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.804/1.804, allocations: 221.5 MB / 0.7824 GB, free: 0.8867 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.0009674/0.0009673, allocations: 95.84 kB / 0.9219 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.598e-05/1.611e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3184, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.555/4.873, allocations: 1.731 GB / 2.937 GB, free: 126.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/4.873, allocations: 92.55 kB / 2.937 GB, free: 126.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1345/5.008, allocations: 64.61 MB / 3 GB, free: 67.64 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.984e-06/5.008, allocations: 0 / 3 GB, free: 67.64 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.855e-05/5.008, allocations: 20 kB / 3 GB, free: 67.62 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.002264/5.01, allocations: 1.132 MB / 3.001 GB, free: 66.43 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/5.01, allocations: 12.03 kB / 3.001 GB, free: 66.42 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/5.012, allocations: 302.4 kB / 3.001 GB, free: 66.12 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/5.013, allocations: 0.6269 MB / 3.002 GB, free: 65.45 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/5.013, allocations: 28 kB / 3.002 GB, free: 65.43 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/5.013, allocations: 55.94 kB / 3.002 GB, free: 65.37 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001449/5.015, allocations: 1.054 MB / 3.003 GB, free: 64.32 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/5.016, allocations: 0.8045 MB / 3.004 GB, free: 63.47 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/5.016, allocations: 0 / 3.004 GB, free: 63.47 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.768e-05/5.016, allocations: 7.891 kB / 3.004 GB, free: 63.46 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/5.016, allocations: 27.98 kB / 3.004 GB, free: 63.44 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004058/5.02, allocations: 2.42 MB / 3.006 GB, free: 60.96 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/5.022, allocations: 0.8162 MB / 3.007 GB, free: 60.12 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/5.022, allocations: 267.2 kB / 3.007 GB, free: 59.85 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.715e-05/5.023, allocations: 28.73 kB / 3.007 GB, free: 59.82 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005942/5.023, allocations: 411.8 kB / 3.008 GB, free: 59.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=75): time 2.755e-06/5.023, allocations: 0 / 3.008 GB, free: 59.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=75): time 0.00157/5.025, allocations: 0.6798 MB / 3.008 GB, free: 58.71 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/5.025, allocations: 240.1 kB / 3.009 GB, free: 58.42 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006074/5.025, allocations: 498.3 kB / 3.009 GB, free: 57.93 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.261e-05/5.025, allocations: 25.7 kB / 3.009 GB, free: 57.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/5.026, allocations: 412 kB / 3.01 GB, free: 57.49 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/5.026, allocations: 240.4 kB / 3.01 GB, free: 57.25 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/5.026, allocations: 0 / 3.01 GB, free: 57.25 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.88e-05/5.026, allocations: 374.8 kB / 3.01 GB, free: 56.88 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/5.026, allocations: 197.5 kB / 3.01 GB, free: 56.68 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/5.027, allocations: 303.5 kB / 3.011 GB, free: 56.36 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/5.027, allocations: 256.4 kB / 3.011 GB, free: 56.11 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/5.027, allocations: 0 / 3.011 GB, free: 56.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001342/5.028, allocations: 0.6682 MB / 3.012 GB, free: 55.43 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/5.028, allocations: 4 kB / 3.012 GB, free: 55.43 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/5.028, allocations: 0 / 3.012 GB, free: 55.43 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005578/5.029, allocations: 80.78 kB / 3.012 GB, free: 55.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006662/5.03, allocations: 159.8 kB / 3.012 GB, free: 55.19 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/5.031, allocations: 1.458 MB / 3.013 GB, free: 53.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007016/5.032, allocations: 75.61 kB / 3.013 GB, free: 53.53 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/5.032, allocations: 27.97 kB / 3.013 GB, free: 53.5 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 (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.0001721/5.032, allocations: 128.9 kB / 3.013 GB, free: 53.37 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/5.032, allocations: 71.14 kB / 3.013 GB, free: 53.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/5.034, allocations: 0.9383 MB / 3.014 GB, free: 52.35 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/5.034, allocations: 11.95 kB / 3.014 GB, free: 52.34 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/5.034, allocations: 0 / 3.014 GB, free: 52.34 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.739e-06/5.034, allocations: 11.97 kB / 3.014 GB, free: 52.32 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/5.037, allocations: 1.783 MB / 3.016 GB, free: 50.49 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/5.037, allocations: 0 / 3.016 GB, free: 50.49 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006854/5.038, allocations: 167.8 kB / 3.016 GB, free: 50.32 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004965/5.038, allocations: 80.78 kB / 3.016 GB, free: 50.24 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.327e-05/5.038, allocations: 15.98 kB / 3.016 GB, free: 50.23 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/5.04, allocations: 1.48 MB / 3.018 GB, free: 48.62 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/5.04, allocations: 0 / 3.018 GB, free: 48.62 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/5.041, allocations: 0.8534 MB / 3.019 GB, free: 47.75 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/5.042, allocations: 279.8 kB / 3.019 GB, free: 47.46 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/5.042, allocations: 0 / 3.019 GB, free: 47.46 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006928/5.043, allocations: 71.92 kB / 3.019 GB, free: 47.39 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/5.043, allocations: 60.64 kB / 3.019 GB, free: 47.33 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/5.043, allocations: 39.98 kB / 3.019 GB, free: 47.29 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004864/5.043, allocations: 398.9 kB / 3.019 GB, free: 46.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.292e-06/5.043, allocations: 0 / 3.019 GB, free: 46.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001232/5.044, allocations: 354.8 kB / 3.02 GB, free: 46.55 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 (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.00221/5.047, allocations: 1.08 MB / 3.021 GB, free: 45.58 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001234/5.048, allocations: 0.6862 MB / 3.022 GB, free: 44.88 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/5.048, allocations: 0 / 3.022 GB, free: 44.88 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000632/5.049, allocations: 456.6 kB / 3.022 GB, free: 44.43 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/5.05, allocations: 222.9 kB / 3.022 GB, free: 44.22 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003452/5.053, allocations: 1.344 MB / 3.024 GB, free: 42.84 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/5.054, allocations: 1.046 MB / 3.025 GB, free: 41.77 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009609/5.055, allocations: 257.8 kB / 3.025 GB, free: 41.51 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/5.055, allocations: 103.4 kB / 3.025 GB, free: 41.41 MB / 1.151 GB Notification: Performance of SimCode: time 1.002e-06/5.055, allocations: 7.938 kB / 3.025 GB, free: 41.4 MB / 1.151 GB Notification: Performance of Templates: time 0.02402/5.079, allocations: 15.88 MB / 3.04 GB, free: 25.65 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