Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.296/2.296, allocations: 393.5 MB / 408.4 MB, free: 10.93 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.001495/0.001496, allocations: 179.5 kB / 0.4901 GB, free: 2.23 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.662/1.662, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009982/0.0009982, allocations: 96.14 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005495/0.0005497, allocations: 11.41 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3592, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.982/4.342, allocations: 1.734 GB / 2.963 GB, free: 252.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/4.342, allocations: 99.94 kB / 2.963 GB, free: 252.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.148/4.49, allocations: 70.07 MB / 3.032 GB, free: 182.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.675e-06/4.49, allocations: 0 / 3.032 GB, free: 182.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001268/4.49, allocations: 27.94 kB / 3.032 GB, free: 182.1 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.00352/4.494, allocations: 1.368 MB / 3.033 GB, free: 180.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/4.494, allocations: 12.56 kB / 3.033 GB, free: 180.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000424/4.494, allocations: 160.6 kB / 3.033 GB, free: 180.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00445/4.499, allocations: 0.693 MB / 3.034 GB, free: 179.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/4.5, allocations: 0.6736 MB / 3.034 GB, free: 179.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.393e-05/4.5, allocations: 82.09 kB / 3.034 GB, free: 179 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000249/4.501, allocations: 100 kB / 3.035 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003289/4.504, allocations: 1.383 MB / 3.036 GB, free: 177.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/4.504, allocations: 0 / 3.036 GB, free: 177.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/4.504, allocations: 40 kB / 3.036 GB, free: 177.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/4.504, allocations: 32 kB / 3.036 GB, free: 177.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004349/4.509, allocations: 1.885 MB / 3.038 GB, free: 175.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006154/4.515, allocations: 3.146 MB / 3.041 GB, free: 172.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/4.518, allocations: 1.296 MB / 3.042 GB, free: 170.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000618/4.518, allocations: 486.6 kB / 3.043 GB, free: 170.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001616/4.52, allocations: 0.7309 MB / 3.043 GB, free: 169.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=100): time 3.657e-06/4.52, allocations: 0 / 3.043 GB, free: 169.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=100): time 0.005561/4.525, allocations: 1.872 MB / 3.045 GB, free: 167.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.877e-05/4.526, allocations: 248.3 kB / 3.045 GB, free: 167.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009214/4.527, allocations: 0.6049 MB / 3.046 GB, free: 166.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/4.527, allocations: 41.7 kB / 3.046 GB, free: 166.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/4.527, allocations: 412.4 kB / 3.046 GB, free: 166.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/4.527, allocations: 331.1 kB / 3.047 GB, free: 166 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/4.527, allocations: 20 kB / 3.047 GB, free: 166 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001076/4.527, allocations: 386.7 kB / 3.047 GB, free: 165.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/4.529, allocations: 465.7 kB / 3.048 GB, free: 165.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/4.53, allocations: 0.5782 MB / 3.048 GB, free: 164.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/4.531, allocations: 0.4949 MB / 3.049 GB, free: 164.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/4.531, allocations: 0 / 3.049 GB, free: 164.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003453/4.535, allocations: 1.255 MB / 3.05 GB, free: 162.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/4.535, allocations: 5.562 kB / 3.05 GB, free: 162.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/4.535, allocations: 0 / 3.05 GB, free: 162.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/4.535, allocations: 84.88 kB / 3.05 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/4.537, allocations: 255.5 kB / 3.05 GB, free: 162.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/4.538, allocations: 1.528 MB / 3.052 GB, free: 160.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/4.54, allocations: 155.1 kB / 3.052 GB, free: 160.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/4.54, allocations: 39.97 kB / 3.052 GB, free: 160.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (103): * Single equations (assignments): 102 * 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.0005944/4.54, allocations: 282.3 kB / 3.052 GB, free: 160.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/4.541, allocations: 86.97 kB / 3.052 GB, free: 160.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004163/4.545, allocations: 1.601 MB / 3.054 GB, free: 158.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/4.545, allocations: 12 kB / 3.054 GB, free: 158.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/4.545, allocations: 0 / 3.054 GB, free: 158.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/4.545, allocations: 11.92 kB / 3.054 GB, free: 158.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005532/4.55, allocations: 2.739 MB / 3.056 GB, free: 155.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/4.551, allocations: 0 / 3.056 GB, free: 155.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/4.552, allocations: 255.6 kB / 3.057 GB, free: 155.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005413/4.552, allocations: 84.78 kB / 3.057 GB, free: 155.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/4.553, allocations: 31.97 kB / 3.057 GB, free: 155.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/4.554, allocations: 1.563 MB / 3.058 GB, free: 153.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/4.554, allocations: 0 / 3.058 GB, free: 153.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003747/4.558, allocations: 1.437 MB / 3.06 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006268/4.559, allocations: 335.5 kB / 3.06 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/4.559, allocations: 20 kB / 3.06 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/4.56, allocations: 127.9 kB / 3.06 GB, free: 151.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/4.56, allocations: 72.89 kB / 3.06 GB, free: 151.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.396e-05/4.56, allocations: 43.97 kB / 3.06 GB, free: 151.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006702/4.561, allocations: 499 kB / 3.061 GB, free: 151.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.01e-07/4.561, allocations: 0 / 3.061 GB, free: 151.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001381/4.562, allocations: 435 kB / 3.061 GB, free: 150.7 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 (113): * Single equations (assignments): 110 * 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.00566/4.568, allocations: 3 MB / 3.064 GB, free: 147.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003261/4.571, allocations: 1.28 MB / 3.065 GB, free: 146.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/4.571, allocations: 4 kB / 3.065 GB, free: 146.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/4.573, allocations: 0.7774 MB / 3.066 GB, free: 145.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/4.574, allocations: 241.2 kB / 3.066 GB, free: 145.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/4.588, allocations: 6.636 MB / 3.073 GB, free: 138.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/4.589, allocations: 1.075 MB / 3.074 GB, free: 137.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001602/4.59, allocations: 339 kB / 3.074 GB, free: 137.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006999/4.591, allocations: 423.2 kB / 3.075 GB, free: 137 MB / 1.167 GB Notification: Performance of SimCode: time 9.72e-07/4.591, allocations: 0 / 3.075 GB, free: 137 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0525/4.643, allocations: 32.77 MB / 3.107 GB, free: 104.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/4.644, allocations: 305.6 kB / 3.107 GB, free: 104.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.183/7.827, allocations: 0 / 3.107 GB, free: 104.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat does not exist to compare? outputFormat=mat