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.323/2.323, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001172/0.001173, allocations: 185.1 kB / 498.1 MB, free: 5.75 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.568/1.568, allocations: 223.1 MB / 0.7948 GB, free: 17.99 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.001057/0.001057, allocations: 95.38 kB / 0.9346 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004068, allocations: 16.12 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3171, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.182/4.499, allocations: 1.732 GB / 2.954 GB, free: 287.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/4.499, allocations: 91.95 kB / 2.955 GB, free: 287.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1364/4.636, allocations: 65.76 MB / 3.019 GB, free: 221.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.348e-06/4.636, allocations: 0 / 3.019 GB, free: 221.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.473e-05/4.636, allocations: 27.94 kB / 3.019 GB, free: 221.4 MB / 1.167 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.002376/4.638, allocations: 1.254 MB / 3.02 GB, free: 220.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/4.638, allocations: 12.03 kB / 3.02 GB, free: 220 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/4.638, allocations: 143.7 kB / 3.02 GB, free: 219.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/4.64, allocations: 298.4 kB / 3.02 GB, free: 219.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/4.641, allocations: 0.6347 MB / 3.021 GB, free: 218.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/4.641, allocations: 66 kB / 3.021 GB, free: 218.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/4.641, allocations: 88 kB / 3.021 GB, free: 218.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/4.643, allocations: 1.003 MB / 3.022 GB, free: 217.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/4.643, allocations: 3.953 kB / 3.022 GB, free: 217.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/4.643, allocations: 36 kB / 3.022 GB, free: 217.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/4.643, allocations: 23.94 kB / 3.022 GB, free: 217.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/4.645, allocations: 1.229 MB / 3.023 GB, free: 216.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003808/4.649, allocations: 2.603 MB / 3.026 GB, free: 213.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/4.651, allocations: 0.943 MB / 3.027 GB, free: 212.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.213e-05/4.651, allocations: 36.67 kB / 3.027 GB, free: 212.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008754/4.652, allocations: 495 kB / 3.027 GB, free: 212.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=75): time 2.705e-06/4.652, allocations: 4 kB / 3.027 GB, free: 212.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=75): time 0.003424/4.655, allocations: 1.253 MB / 3.029 GB, free: 211 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/4.655, allocations: 247.9 kB / 3.029 GB, free: 210.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007186/4.656, allocations: 0.5893 MB / 3.029 GB, free: 210.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.167e-05/4.656, allocations: 41.7 kB / 3.03 GB, free: 210 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/4.657, allocations: 400.1 kB / 3.03 GB, free: 209.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/4.657, allocations: 248.4 kB / 3.03 GB, free: 209.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/4.657, allocations: 12 kB / 3.03 GB, free: 209.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000118/4.657, allocations: 386.7 kB / 3.031 GB, free: 209 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005855/4.657, allocations: 273.1 kB / 3.031 GB, free: 208.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006523/4.658, allocations: 379.6 kB / 3.031 GB, free: 208.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006754/4.659, allocations: 315 kB / 3.031 GB, free: 208 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/4.659, allocations: 0 / 3.031 GB, free: 208 MB / 1.167 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001935/4.661, allocations: 0.8252 MB / 3.032 GB, free: 207.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/4.661, allocations: 8 kB / 3.032 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/4.661, allocations: 0 / 3.032 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006505/4.661, allocations: 84.83 kB / 3.032 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/4.662, allocations: 163.8 kB / 3.032 GB, free: 206.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/4.664, allocations: 1.532 MB / 3.034 GB, free: 205.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007261/4.665, allocations: 107.4 kB / 3.034 GB, free: 205.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/4.665, allocations: 27.98 kB / 3.034 GB, free: 205.1 MB / 1.167 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 () * Number of clocked 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.0005318/4.665, allocations: 264.5 kB / 3.034 GB, free: 204.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/4.666, allocations: 78.97 kB / 3.034 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/4.668, allocations: 1.127 MB / 3.036 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/4.668, allocations: 11.94 kB / 3.036 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/4.668, allocations: 0 / 3.036 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/4.668, allocations: 7.984 kB / 3.036 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/4.672, allocations: 2.077 MB / 3.038 GB, free: 201.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/4.672, allocations: 7.938 kB / 3.038 GB, free: 201.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006976/4.672, allocations: 167.8 kB / 3.038 GB, free: 201.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005104/4.673, allocations: 84.77 kB / 3.038 GB, free: 201.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/4.673, allocations: 23.98 kB / 3.038 GB, free: 201.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/4.674, allocations: 1.555 MB / 3.039 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/4.674, allocations: 4.094 kB / 3.039 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/4.677, allocations: 1.031 MB / 3.04 GB, free: 198.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004098/4.677, allocations: 287.7 kB / 3.041 GB, free: 198.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/4.677, allocations: 16.28 kB / 3.041 GB, free: 198.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006861/4.678, allocations: 87.92 kB / 3.041 GB, free: 198 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/4.678, allocations: 60.91 kB / 3.041 GB, free: 198 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.188e-05/4.678, allocations: 31.98 kB / 3.041 GB, free: 198 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006358/4.679, allocations: 499 kB / 3.041 GB, free: 197.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/4.679, allocations: 0 / 3.041 GB, free: 197.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001266/4.68, allocations: 375 kB / 3.042 GB, free: 197.1 MB / 1.167 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) * Number of clocked states: 0 () * 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.004967/4.685, allocations: 2.549 MB / 3.044 GB, free: 194.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001997/4.687, allocations: 0.8332 MB / 3.045 GB, free: 193.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/4.687, allocations: 4 kB / 3.045 GB, free: 193.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/4.688, allocations: 0.5392 MB / 3.046 GB, free: 193.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/4.689, allocations: 243.8 kB / 3.046 GB, free: 193.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/4.7, allocations: 5.402 MB / 3.051 GB, free: 187.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/4.701, allocations: 1.039 MB / 3.052 GB, free: 186.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001021/4.702, allocations: 278.2 kB / 3.052 GB, free: 186.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005919/4.702, allocations: 383.3 kB / 3.053 GB, free: 185.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.242e-06/4.702, allocations: 0 / 3.053 GB, free: 185.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0529/4.755, allocations: 29.93 MB / 3.082 GB, free: 156.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/4.755, allocations: 289.8 kB / 3.082 GB, free: 156 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.204/7.959, allocations: 0 / 3.082 GB, free: 156 MB / 1.167 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