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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 387.1 MB / 399.7 MB, free: 9.531 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.001039/0.001039, allocations: 176.1 kB / 492.3 MB, free: 0.6289 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.686/1.686, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009983/0.0009982, allocations: 87.94 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.452e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3633, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.926/5.289, allocations: 1.731 GB / 2.944 GB, free: 107.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/5.289, allocations: 95.31 kB / 2.944 GB, free: 107.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1444/5.434, allocations: 65.45 MB / 3.008 GB, free: 47.39 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.994e-06/5.434, allocations: 0 / 3.008 GB, free: 47.39 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001004/5.434, allocations: 20 kB / 3.008 GB, free: 47.37 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.00237/5.436, allocations: 1.138 MB / 3.009 GB, free: 46.18 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/5.436, allocations: 8.031 kB / 3.009 GB, free: 46.17 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002552/5.437, allocations: 143.7 kB / 3.009 GB, free: 46.02 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/5.438, allocations: 302.4 kB / 3.01 GB, free: 45.72 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/5.44, allocations: 0.6269 MB / 3.01 GB, free: 45.05 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/5.44, allocations: 73.98 kB / 3.01 GB, free: 44.98 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/5.44, allocations: 91.94 kB / 3.01 GB, free: 44.89 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/5.442, allocations: 0.9294 MB / 3.011 GB, free: 43.92 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/5.442, allocations: 0 / 3.011 GB, free: 43.92 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/5.442, allocations: 43.94 kB / 3.011 GB, free: 43.88 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/5.442, allocations: 27.98 kB / 3.011 GB, free: 43.85 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/5.444, allocations: 1.101 MB / 3.012 GB, free: 42.75 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004864/5.449, allocations: 2.611 MB / 3.015 GB, free: 40.07 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/5.451, allocations: 0.8504 MB / 3.016 GB, free: 39.19 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/5.451, allocations: 283.2 kB / 3.016 GB, free: 38.91 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.485e-05/5.451, allocations: 32.8 kB / 3.016 GB, free: 38.88 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006515/5.452, allocations: 437.2 kB / 3.016 GB, free: 38.43 MB / 1.151 GB Notification: Performance of pre-optimization done (n=75): time 3.727e-06/5.452, allocations: 0 / 3.016 GB, free: 38.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=75): time 0.001727/5.453, allocations: 0.7188 MB / 3.017 GB, free: 37.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/5.454, allocations: 240.1 kB / 3.017 GB, free: 37.41 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008506/5.454, allocations: 0.5894 MB / 3.018 GB, free: 36.82 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.905e-05/5.455, allocations: 45.69 kB / 3.018 GB, free: 36.77 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002803/5.455, allocations: 400.2 kB / 3.018 GB, free: 36.37 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/5.455, allocations: 244.4 kB / 3.019 GB, free: 36.12 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/5.455, allocations: 20 kB / 3.019 GB, free: 36.11 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001138/5.455, allocations: 382.7 kB / 3.019 GB, free: 35.72 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/5.456, allocations: 209.5 kB / 3.019 GB, free: 35.52 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/5.456, allocations: 321.1 kB / 3.02 GB, free: 35.17 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/5.456, allocations: 266 kB / 3.02 GB, free: 34.91 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/5.456, allocations: 0 / 3.02 GB, free: 34.91 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001531/5.458, allocations: 0.711 MB / 3.02 GB, free: 34.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/5.458, allocations: 8 kB / 3.02 GB, free: 34.19 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/5.458, allocations: 0 / 3.02 GB, free: 34.19 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005771/5.459, allocations: 84.83 kB / 3.021 GB, free: 34.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000707/5.459, allocations: 159.8 kB / 3.021 GB, free: 33.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/5.461, allocations: 1.529 MB / 3.022 GB, free: 32.27 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007886/5.462, allocations: 103.3 kB / 3.022 GB, free: 32.17 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.816e-05/5.462, allocations: 23.98 kB / 3.022 GB, free: 32.15 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.000175/5.462, allocations: 149.9 kB / 3.022 GB, free: 32 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/5.462, allocations: 79.06 kB / 3.023 GB, free: 31.92 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/5.464, allocations: 1.013 MB / 3.024 GB, free: 30.89 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/5.464, allocations: 8 kB / 3.024 GB, free: 30.88 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/5.464, allocations: 0 / 3.024 GB, free: 30.88 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/5.464, allocations: 7.922 kB / 3.024 GB, free: 30.87 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/5.467, allocations: 1.954 MB / 3.025 GB, free: 28.86 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/5.467, allocations: 3.938 kB / 3.025 GB, free: 28.85 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00073/5.468, allocations: 167.8 kB / 3.026 GB, free: 28.69 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004907/5.469, allocations: 80.78 kB / 3.026 GB, free: 28.61 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.287e-05/5.469, allocations: 23.98 kB / 3.026 GB, free: 28.58 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/5.47, allocations: 1.544 MB / 3.027 GB, free: 26.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/5.47, allocations: 64 / 3.027 GB, free: 26.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/5.472, allocations: 0.9079 MB / 3.028 GB, free: 25.97 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004488/5.472, allocations: 295.6 kB / 3.028 GB, free: 25.66 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/5.472, allocations: 20 kB / 3.028 GB, free: 25.64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007557/5.473, allocations: 79.94 kB / 3.028 GB, free: 25.57 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/5.473, allocations: 68.69 kB / 3.029 GB, free: 25.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/5.473, allocations: 27.98 kB / 3.029 GB, free: 25.47 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006366/5.474, allocations: 491.1 kB / 3.029 GB, free: 24.99 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.01e-07/5.474, allocations: 0 / 3.029 GB, free: 24.99 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001338/5.475, allocations: 375.1 kB / 3.029 GB, free: 24.62 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.003809/5.479, allocations: 2.383 MB / 3.032 GB, free: 22.37 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001424/5.481, allocations: 0.7137 MB / 3.032 GB, free: 21.64 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/5.481, allocations: 4 kB / 3.032 GB, free: 21.64 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007764/5.482, allocations: 498.8 kB / 3.033 GB, free: 21.14 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/5.483, allocations: 235.8 kB / 3.033 GB, free: 20.92 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004193/5.487, allocations: 1.622 MB / 3.035 GB, free: 19.26 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/5.488, allocations: 1.047 MB / 3.036 GB, free: 18.18 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009861/5.489, allocations: 270.1 kB / 3.036 GB, free: 17.91 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005228/5.489, allocations: 383.3 kB / 3.036 GB, free: 17.53 MB / 1.151 GB Notification: Performance of SimCode: time 7.71e-07/5.489, allocations: 4 kB / 3.036 GB, free: 17.53 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6988/6.188, allocations: 31.66 MB / 3.067 GB, free: 387.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/6.188, allocations: 253.5 kB / 3.068 GB, free: 387.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.167/9.355, allocations: 5.188 kB / 3.068 GB, free: 387.4 MB / 1.151 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat does not exist to compare? outputFormat=mat