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.318/2.318, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001154/0.001155, allocations: 177 kB / 492.3 MB, free: 0.6172 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.668/1.668, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.001061/0.001061, allocations: 97.19 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.174e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3156, allocations: 142.3 MB / 1.212 GB, free: 38.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.886/5.201, allocations: 1.731 GB / 2.944 GB, free: 107.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/5.202, allocations: 91.94 kB / 2.944 GB, free: 107.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1358/5.337, allocations: 65.46 MB / 3.008 GB, free: 47.63 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.034e-06/5.338, allocations: 0 / 3.008 GB, free: 47.63 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000112/5.338, allocations: 20 kB / 3.008 GB, free: 47.61 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.002586/5.34, allocations: 1.13 MB / 3.009 GB, free: 46.43 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/5.34, allocations: 8.031 kB / 3.009 GB, free: 46.42 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001791/5.342, allocations: 306.3 kB / 3.009 GB, free: 46.12 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/5.344, allocations: 0.6347 MB / 3.01 GB, free: 45.44 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.165e-05/5.344, allocations: 70 kB / 3.01 GB, free: 45.37 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/5.344, allocations: 84 kB / 3.01 GB, free: 45.29 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/5.345, allocations: 0.9294 MB / 3.011 GB, free: 44.32 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/5.345, allocations: 4 kB / 3.011 GB, free: 44.32 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/5.345, allocations: 40 kB / 3.011 GB, free: 44.28 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/5.345, allocations: 23.95 kB / 3.011 GB, free: 44.26 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/5.347, allocations: 1.101 MB / 3.012 GB, free: 43.16 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003702/5.35, allocations: 2.599 MB / 3.015 GB, free: 40.49 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/5.352, allocations: 0.8705 MB / 3.015 GB, free: 39.59 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/5.353, allocations: 279.1 kB / 3.016 GB, free: 39.32 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.881e-05/5.353, allocations: 32.8 kB / 3.016 GB, free: 39.29 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005958/5.353, allocations: 437.2 kB / 3.016 GB, free: 38.84 MB / 1.151 GB Notification: Performance of pre-optimization done (n=75): time 2.865e-06/5.353, allocations: 3.938 kB / 3.016 GB, free: 38.83 MB / 1.151 GB Notification: Performance of matching and sorting (n=75): time 0.001555/5.355, allocations: 0.7188 MB / 3.017 GB, free: 38.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/5.355, allocations: 248.1 kB / 3.017 GB, free: 37.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006612/5.356, allocations: 0.5855 MB / 3.018 GB, free: 37.21 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/5.356, allocations: 41.69 kB / 3.018 GB, free: 37.16 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/5.356, allocations: 400.2 kB / 3.018 GB, free: 36.77 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/5.356, allocations: 248.4 kB / 3.018 GB, free: 36.52 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/5.356, allocations: 8 kB / 3.018 GB, free: 36.51 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/5.356, allocations: 390.7 kB / 3.019 GB, free: 36.12 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/5.356, allocations: 209.5 kB / 3.019 GB, free: 35.91 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/5.357, allocations: 329 kB / 3.019 GB, free: 35.56 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/5.357, allocations: 258 kB / 3.02 GB, free: 35.31 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/5.357, allocations: 0 / 3.02 GB, free: 35.31 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001369/5.359, allocations: 0.711 MB / 3.02 GB, free: 34.59 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/5.359, allocations: 8.062 kB / 3.02 GB, free: 34.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/5.359, allocations: 0 / 3.02 GB, free: 34.59 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005636/5.359, allocations: 88.77 kB / 3.02 GB, free: 34.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/5.36, allocations: 155.8 kB / 3.02 GB, free: 34.34 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/5.362, allocations: 1.525 MB / 3.022 GB, free: 32.68 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007683/5.362, allocations: 103.5 kB / 3.022 GB, free: 32.57 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/5.362, allocations: 27.98 kB / 3.022 GB, free: 32.55 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.0001568/5.363, allocations: 140.9 kB / 3.022 GB, free: 32.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/5.363, allocations: 78.97 kB / 3.022 GB, free: 32.32 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/5.365, allocations: 1.017 MB / 3.023 GB, free: 31.29 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/5.365, allocations: 8 kB / 3.023 GB, free: 31.28 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/5.365, allocations: 0 / 3.023 GB, free: 31.28 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/5.365, allocations: 11.92 kB / 3.023 GB, free: 31.27 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/5.367, allocations: 1.947 MB / 3.025 GB, free: 29.26 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/5.367, allocations: 4 kB / 3.025 GB, free: 29.26 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006821/5.368, allocations: 175.8 kB / 3.025 GB, free: 29.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004693/5.369, allocations: 80.78 kB / 3.025 GB, free: 29 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/5.369, allocations: 23.98 kB / 3.025 GB, free: 28.98 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/5.37, allocations: 1.54 MB / 3.027 GB, free: 27.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/5.37, allocations: 0 / 3.027 GB, free: 27.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/5.372, allocations: 0.8963 MB / 3.028 GB, free: 26.39 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/5.372, allocations: 299.5 kB / 3.028 GB, free: 26.07 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/5.372, allocations: 31.98 kB / 3.028 GB, free: 26.04 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006681/5.373, allocations: 83.94 kB / 3.028 GB, free: 25.96 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/5.373, allocations: 56.69 kB / 3.028 GB, free: 25.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.774e-05/5.373, allocations: 31.98 kB / 3.028 GB, free: 25.87 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005209/5.374, allocations: 487.1 kB / 3.029 GB, free: 25.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.11e-07/5.374, allocations: 4 kB / 3.029 GB, free: 25.39 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001061/5.375, allocations: 375.1 kB / 3.029 GB, free: 25.03 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.001716/5.377, allocations: 1.038 MB / 3.03 GB, free: 24.14 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001162/5.378, allocations: 0.7136 MB / 3.031 GB, free: 23.42 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/5.378, allocations: 0 / 3.031 GB, free: 23.42 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006759/5.378, allocations: 495 kB / 3.031 GB, free: 22.92 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/5.379, allocations: 232.2 kB / 3.032 GB, free: 22.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/5.383, allocations: 1.391 MB / 3.033 GB, free: 21.29 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/5.383, allocations: 1.047 MB / 3.034 GB, free: 20.21 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009131/5.384, allocations: 282.1 kB / 3.034 GB, free: 19.93 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/5.384, allocations: 95.39 kB / 3.034 GB, free: 19.83 MB / 1.151 GB Notification: Performance of SimCode: time 1.302e-06/5.384, allocations: 0 / 3.034 GB, free: 19.83 MB / 1.151 GB Notification: Performance of Templates: time 0.6065/5.991, allocations: 22.4 MB / 3.056 GB, free: 389 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