Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.419/2.419, allocations: 390.5 MB / 398 MB, free: 10.91 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.001612/0.001611, allocations: 187.8 kB / 491.2 MB, free: 1.551 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.912/1.912, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.001194/0.001195, allocations: 95.94 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.742e-05/1.745e-05, allocations: 6.422 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3677, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.707/5.074, allocations: 1.732 GB / 2.944 GB, free: 133.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/5.075, allocations: 91.95 kB / 2.944 GB, free: 133 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1345/5.209, allocations: 64.62 MB / 3.007 GB, free: 68.15 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.023e-06/5.209, allocations: 0 / 3.007 GB, free: 68.15 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.863e-05/5.209, allocations: 23.94 kB / 3.007 GB, free: 68.13 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.001718/5.211, allocations: 1.128 MB / 3.008 GB, free: 66.95 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/5.211, allocations: 8.031 kB / 3.008 GB, free: 66.94 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/5.213, allocations: 294.4 kB / 3.009 GB, free: 66.65 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008347/5.213, allocations: 0.6347 MB / 3.009 GB, free: 65.97 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/5.213, allocations: 32 kB / 3.009 GB, free: 65.94 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.385e-05/5.214, allocations: 52 kB / 3.009 GB, free: 65.89 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001282/5.215, allocations: 1.054 MB / 3.01 GB, free: 64.84 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/5.216, allocations: 0.8084 MB / 3.011 GB, free: 63.99 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/5.216, allocations: 4 kB / 3.011 GB, free: 63.99 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.861e-05/5.216, allocations: 0 / 3.011 GB, free: 63.99 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/5.216, allocations: 24 kB / 3.011 GB, free: 63.96 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/5.22, allocations: 2.424 MB / 3.013 GB, free: 61.49 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/5.221, allocations: 0.8124 MB / 3.014 GB, free: 60.64 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/5.221, allocations: 263.2 kB / 3.014 GB, free: 60.38 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.894e-05/5.222, allocations: 28.73 kB / 3.014 GB, free: 60.35 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005092/5.222, allocations: 419.6 kB / 3.015 GB, free: 59.93 MB / 1.151 GB Notification: Performance of pre-optimization done (n=75): time 2.205e-06/5.222, allocations: 4 kB / 3.015 GB, free: 59.92 MB / 1.151 GB Notification: Performance of matching and sorting (n=75): time 0.001379/5.223, allocations: 0.6681 MB / 3.016 GB, free: 59.24 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/5.224, allocations: 248 kB / 3.016 GB, free: 58.95 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/5.224, allocations: 498.3 kB / 3.016 GB, free: 58.45 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/5.224, allocations: 25.7 kB / 3.016 GB, free: 58.42 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/5.224, allocations: 412 kB / 3.017 GB, free: 58.01 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/5.224, allocations: 236.4 kB / 3.017 GB, free: 57.78 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/5.224, allocations: 0 / 3.017 GB, free: 57.78 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001058/5.225, allocations: 378.7 kB / 3.017 GB, free: 57.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/5.225, allocations: 201.5 kB / 3.017 GB, free: 57.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/5.225, allocations: 303.5 kB / 3.018 GB, free: 56.88 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000343/5.226, allocations: 244.4 kB / 3.018 GB, free: 56.64 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/5.226, allocations: 0 / 3.018 GB, free: 56.64 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001231/5.227, allocations: 0.6721 MB / 3.019 GB, free: 55.95 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/5.227, allocations: 4 kB / 3.019 GB, free: 55.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/5.227, allocations: 0 / 3.019 GB, free: 55.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005415/5.227, allocations: 84.84 kB / 3.019 GB, free: 55.86 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/5.228, allocations: 159.8 kB / 3.019 GB, free: 55.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/5.23, allocations: 1.457 MB / 3.02 GB, free: 54.12 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000618/5.23, allocations: 83.59 kB / 3.02 GB, free: 54.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/5.23, allocations: 27.97 kB / 3.02 GB, free: 54.02 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.0001599/5.23, allocations: 126.6 kB / 3.021 GB, free: 53.89 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/5.23, allocations: 79.09 kB / 3.021 GB, free: 53.81 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/5.232, allocations: 0.9344 MB / 3.022 GB, free: 52.86 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/5.232, allocations: 12 kB / 3.022 GB, free: 52.85 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/5.232, allocations: 0 / 3.022 GB, free: 52.85 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/5.232, allocations: 3.984 kB / 3.022 GB, free: 52.84 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/5.235, allocations: 1.775 MB / 3.023 GB, free: 51.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/5.235, allocations: 3.938 kB / 3.023 GB, free: 51.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/5.235, allocations: 167.8 kB / 3.023 GB, free: 50.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/5.236, allocations: 88.75 kB / 3.024 GB, free: 50.77 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.644e-05/5.236, allocations: 15.98 kB / 3.024 GB, free: 50.75 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/5.237, allocations: 1.473 MB / 3.025 GB, free: 49.16 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/5.237, allocations: 0 / 3.025 GB, free: 49.16 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/5.238, allocations: 0.8533 MB / 3.026 GB, free: 48.29 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/5.239, allocations: 279.8 kB / 3.026 GB, free: 47.99 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/5.239, allocations: 4 kB / 3.026 GB, free: 47.99 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006374/5.239, allocations: 71.92 kB / 3.026 GB, free: 47.92 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/5.24, allocations: 64.66 kB / 3.026 GB, free: 47.85 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.637e-05/5.24, allocations: 31.97 kB / 3.026 GB, free: 47.82 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003709/5.24, allocations: 398.9 kB / 3.027 GB, free: 47.43 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.24, allocations: 0 / 3.027 GB, free: 47.43 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009761/5.241, allocations: 346.9 kB / 3.027 GB, free: 47.09 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.001623/5.243, allocations: 1.094 MB / 3.028 GB, free: 46.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001014/5.244, allocations: 0.6707 MB / 3.029 GB, free: 45.42 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/5.244, allocations: 0 / 3.029 GB, free: 45.42 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005683/5.244, allocations: 468.6 kB / 3.029 GB, free: 44.95 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009693/5.245, allocations: 210.8 kB / 3.029 GB, free: 44.75 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/5.248, allocations: 1.352 MB / 3.031 GB, free: 43.37 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/5.248, allocations: 1.043 MB / 3.032 GB, free: 42.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007888/5.249, allocations: 265.7 kB / 3.032 GB, free: 42.04 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/5.249, allocations: 103.3 kB / 3.032 GB, free: 41.93 MB / 1.151 GB Notification: Performance of SimCode: time 3.9e-07/5.249, allocations: 0 / 3.032 GB, free: 41.93 MB / 1.151 GB Notification: Performance of Templates: time 0.02426/5.274, allocations: 15.88 MB / 3.048 GB, free: 26.19 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches