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.076/2.076, 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.001481/0.001481, allocations: 176.9 kB / 487.4 MB, free: 5.035 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.319/1.319, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 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.001027/0.001027, allocations: 95.84 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.373e-05/1.364e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1856, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.584/3.77, allocations: 1.731 GB / 2.937 GB, free: 152.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/3.77, allocations: 97.02 kB / 2.937 GB, free: 152.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1596/3.93, allocations: 64.61 MB / 3 GB, free: 87.57 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.733e-06/3.93, allocations: 0 / 3 GB, free: 87.57 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.742e-05/3.93, allocations: 24 kB / 3 GB, free: 87.55 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.001889/3.932, allocations: 1.134 MB / 3.001 GB, free: 86.36 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/3.932, allocations: 8.562 kB / 3.001 GB, free: 86.35 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/3.933, allocations: 302.4 kB / 3.001 GB, free: 86.05 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00083/3.934, allocations: 0.6308 MB / 3.002 GB, free: 85.38 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/3.934, allocations: 28 kB / 3.002 GB, free: 85.35 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.918e-05/3.934, allocations: 52 kB / 3.002 GB, free: 85.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001274/3.935, allocations: 1.05 MB / 3.003 GB, free: 84.25 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/3.937, allocations: 0.8084 MB / 3.004 GB, free: 83.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/3.937, allocations: 3.984 kB / 3.004 GB, free: 83.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.068e-05/3.937, allocations: 7.938 kB / 3.004 GB, free: 83.39 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/3.937, allocations: 24 kB / 3.004 GB, free: 83.37 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/3.94, allocations: 2.428 MB / 3.006 GB, free: 80.89 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/3.942, allocations: 0.8123 MB / 3.007 GB, free: 80.04 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003085/3.942, allocations: 263.1 kB / 3.007 GB, free: 79.78 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.154e-05/3.942, allocations: 28.8 kB / 3.007 GB, free: 79.75 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005622/3.943, allocations: 415.7 kB / 3.008 GB, free: 79.33 MB / 1.151 GB Notification: Performance of pre-optimization done (n=75): time 2.625e-06/3.943, allocations: 0 / 3.008 GB, free: 79.33 MB / 1.151 GB Notification: Performance of matching and sorting (n=75): time 0.00149/3.944, allocations: 0.672 MB / 3.009 GB, free: 78.65 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/3.944, allocations: 240.1 kB / 3.009 GB, free: 78.36 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005605/3.945, allocations: 498.3 kB / 3.009 GB, free: 77.86 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.718e-05/3.945, allocations: 25.7 kB / 3.009 GB, free: 77.83 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/3.945, allocations: 412 kB / 3.01 GB, free: 77.42 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/3.945, allocations: 236.4 kB / 3.01 GB, free: 77.19 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/3.945, allocations: 0 / 3.01 GB, free: 77.19 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/3.946, allocations: 374.8 kB / 3.01 GB, free: 76.81 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/3.946, allocations: 205.5 kB / 3.01 GB, free: 76.61 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/3.946, allocations: 303.5 kB / 3.011 GB, free: 76.29 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/3.946, allocations: 252.4 kB / 3.011 GB, free: 76.04 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/3.946, allocations: 0 / 3.011 GB, free: 76.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001298/3.948, allocations: 0.6681 MB / 3.012 GB, free: 75.36 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/3.948, allocations: 4.062 kB / 3.012 GB, free: 75.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/3.948, allocations: 8 kB / 3.012 GB, free: 75.35 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000554/3.948, allocations: 80.78 kB / 3.012 GB, free: 75.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/3.949, allocations: 163.8 kB / 3.012 GB, free: 75.11 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/3.951, allocations: 1.457 MB / 3.013 GB, free: 73.52 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/3.951, allocations: 79.58 kB / 3.013 GB, free: 73.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/3.951, allocations: 31.97 kB / 3.013 GB, free: 73.41 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.0001698/3.952, allocations: 126.1 kB / 3.013 GB, free: 73.29 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001262/3.953, allocations: 0.672 MB / 3.014 GB, free: 72.61 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.803e-05/3.953, allocations: 71.06 kB / 3.014 GB, free: 72.54 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/3.955, allocations: 0.9423 MB / 3.015 GB, free: 71.58 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/3.955, allocations: 12 kB / 3.015 GB, free: 71.57 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/3.955, allocations: 0 / 3.015 GB, free: 71.57 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/3.955, allocations: 3.984 kB / 3.015 GB, free: 71.56 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/3.957, allocations: 1.775 MB / 3.017 GB, free: 69.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/3.957, allocations: 0 / 3.017 GB, free: 69.73 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006705/3.958, allocations: 167.8 kB / 3.017 GB, free: 69.57 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004773/3.959, allocations: 88.77 kB / 3.017 GB, free: 69.48 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.977e-05/3.959, allocations: 19.94 kB / 3.017 GB, free: 69.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/3.96, allocations: 1.481 MB / 3.019 GB, free: 67.86 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/3.96, allocations: 4.031 kB / 3.019 GB, free: 67.86 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/3.961, allocations: 0.8494 MB / 3.019 GB, free: 66.99 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/3.962, allocations: 279.8 kB / 3.02 GB, free: 66.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/3.962, allocations: 4 kB / 3.02 GB, free: 66.69 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006523/3.962, allocations: 71.92 kB / 3.02 GB, free: 66.62 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/3.962, allocations: 60.7 kB / 3.02 GB, free: 66.56 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.475e-05/3.963, allocations: 35.97 kB / 3.02 GB, free: 66.52 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004099/3.963, allocations: 394.9 kB / 3.02 GB, free: 66.14 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/3.963, allocations: 0 / 3.02 GB, free: 66.14 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001054/3.964, allocations: 347 kB / 3.021 GB, free: 65.8 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.003342/3.967, allocations: 2.393 MB / 3.023 GB, free: 63.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001138/3.969, allocations: 0.6745 MB / 3.024 GB, free: 62.81 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/3.969, allocations: 0 / 3.024 GB, free: 62.81 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006209/3.969, allocations: 468.6 kB / 3.024 GB, free: 62.34 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/3.97, allocations: 211.7 kB / 3.024 GB, free: 62.14 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004724/3.975, allocations: 1.553 MB / 3.026 GB, free: 60.55 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006208/3.976, allocations: 1.043 MB / 3.027 GB, free: 59.47 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001131/3.977, allocations: 269.7 kB / 3.027 GB, free: 59.21 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/3.978, allocations: 371.3 kB / 3.027 GB, free: 58.84 MB / 1.151 GB Notification: Performance of SimCode: time 2.134e-06/3.978, allocations: 0 / 3.027 GB, free: 58.84 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04835/4.026, allocations: 23.64 MB / 3.05 GB, free: 35.35 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/4.026, allocations: 214.6 kB / 3.051 GB, free: 35.05 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.823/6.849, allocations: 1.875 kB / 3.051 GB, free: 35.05 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