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.228/2.228, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001154, allocations: 180.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 221.3 MB / 0.7915 GB, free: 5.348 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.0009155/0.0009155, allocations: 87.97 kB / 0.9317 GB, free: 5.668 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.803e-05/4.827e-05, allocations: 6.656 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3464, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.241/5.587, allocations: 1.734 GB / 2.953 GB, free: 80.26 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/5.588, allocations: 92.53 kB / 2.953 GB, free: 80.17 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.151/5.739, allocations: 69.76 MB / 3.021 GB, free: 10.11 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.953e-06/5.739, allocations: 0 / 3.021 GB, free: 10.11 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001114/5.739, allocations: 27.94 kB / 3.021 GB, free: 10.08 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.003327/5.742, allocations: 1.256 MB / 3.022 GB, free: 8.77 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/5.742, allocations: 12.03 kB / 3.022 GB, free: 8.758 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003403/5.743, allocations: 156.6 kB / 3.022 GB, free: 8.594 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/5.747, allocations: 0.6852 MB / 3.023 GB, free: 7.906 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/5.748, allocations: 0.6775 MB / 3.023 GB, free: 7.188 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.999e-05/5.748, allocations: 82.09 kB / 3.024 GB, free: 7.105 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/5.749, allocations: 104 kB / 3.024 GB, free: 7.004 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/5.751, allocations: 1.165 MB / 3.025 GB, free: 5.773 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.752e-05/5.751, allocations: 0 / 3.025 GB, free: 5.773 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/5.751, allocations: 51.98 kB / 3.025 GB, free: 5.723 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/5.751, allocations: 24 kB / 3.025 GB, free: 5.699 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002216/5.753, allocations: 1.472 MB / 3.026 GB, free: 4.219 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006022/5.759, allocations: 3.148 MB / 3.029 GB, free: 0.9961 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9677/6.727, allocations: 1.051 MB / 3.03 GB, free: 328.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/6.729, allocations: 451.5 kB / 3.031 GB, free: 328 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/6.73, allocations: 479.8 kB / 3.031 GB, free: 327.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/6.732, allocations: 0.6022 MB / 3.032 GB, free: 327.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=100): time 3.567e-06/6.732, allocations: 4.094 kB / 3.032 GB, free: 327.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=100): time 0.003424/6.735, allocations: 0.9855 MB / 3.033 GB, free: 327.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/6.735, allocations: 252.3 kB / 3.033 GB, free: 327.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/6.737, allocations: 0.5915 MB / 3.034 GB, free: 327 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/6.737, allocations: 46.52 kB / 3.034 GB, free: 327 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006217/6.738, allocations: 415.7 kB / 3.034 GB, free: 326.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/6.738, allocations: 328.5 kB / 3.034 GB, free: 326.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.394e-05/6.738, allocations: 18.41 kB / 3.034 GB, free: 326.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002329/6.738, allocations: 385.5 kB / 3.035 GB, free: 326.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008156/6.739, allocations: 335.3 kB / 3.035 GB, free: 326.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009858/6.74, allocations: 454.2 kB / 3.036 GB, free: 326.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/6.741, allocations: 374.9 kB / 3.036 GB, free: 326.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/6.741, allocations: 1 kB / 3.036 GB, free: 326.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.003258/6.744, allocations: 0.993 MB / 3.037 GB, free: 326.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/6.745, allocations: 6.766 kB / 3.037 GB, free: 326.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/6.745, allocations: 1.062 kB / 3.037 GB, free: 326.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007259/6.745, allocations: 83.16 kB / 3.037 GB, free: 326.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/6.747, allocations: 249.6 kB / 3.037 GB, free: 326.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/6.75, allocations: 1.51 MB / 3.039 GB, free: 324.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/6.751, allocations: 162.3 kB / 3.039 GB, free: 324.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/6.752, allocations: 35.52 kB / 3.039 GB, free: 324.8 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 () * 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.0003545/6.752, allocations: 162.9 kB / 3.039 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002794/6.752, allocations: 86.16 kB / 3.039 GB, free: 324.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/6.757, allocations: 1.342 MB / 3.04 GB, free: 324.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/6.757, allocations: 15.8 kB / 3.04 GB, free: 324.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/6.757, allocations: 2.469 kB / 3.04 GB, free: 324.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.598e-05/6.757, allocations: 8.312 kB / 3.04 GB, free: 324.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006549/6.763, allocations: 2.481 MB / 3.043 GB, free: 324.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/6.763, allocations: 0.7969 kB / 3.043 GB, free: 324.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/6.765, allocations: 249.6 kB / 3.043 GB, free: 324.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006249/6.765, allocations: 89.05 kB / 3.043 GB, free: 324.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/6.766, allocations: 34.58 kB / 3.043 GB, free: 324.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/6.768, allocations: 1.542 MB / 3.045 GB, free: 322.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/6.768, allocations: 0.5156 kB / 3.045 GB, free: 322.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/6.771, allocations: 1.183 MB / 3.046 GB, free: 322.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007157/6.771, allocations: 325.3 kB / 3.046 GB, free: 322.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/6.771, allocations: 22.06 kB / 3.046 GB, free: 322.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/6.773, allocations: 127 kB / 3.046 GB, free: 322.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/6.773, allocations: 73.45 kB / 3.046 GB, free: 322.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/6.773, allocations: 44.41 kB / 3.046 GB, free: 322.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001004/6.774, allocations: 492.6 kB / 3.047 GB, free: 322.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.2e-07/6.774, allocations: 0 / 3.047 GB, free: 322.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002127/6.776, allocations: 443.3 kB / 3.047 GB, free: 322.4 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) * 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.005124/6.781, allocations: 2.683 MB / 3.05 GB, free: 321.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002109/6.783, allocations: 1.022 MB / 3.051 GB, free: 321.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/6.784, allocations: 0 / 3.051 GB, free: 321.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/6.785, allocations: 0.6446 MB / 3.052 GB, free: 321.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/6.786, allocations: 248.5 kB / 3.052 GB, free: 321.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005256/6.791, allocations: 1.874 MB / 3.054 GB, free: 321 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000885/6.792, allocations: 1.086 MB / 3.055 GB, free: 320.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001818/6.794, allocations: 331.4 kB / 3.055 GB, free: 320.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/6.795, allocations: 423.7 kB / 3.055 GB, free: 320.2 MB / 1.167 GB Notification: Performance of SimCode: time 8.02e-07/6.795, allocations: 7.156 kB / 3.055 GB, free: 320.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/6.9, allocations: 34.53 MB / 3.089 GB, free: 318.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/6.9, allocations: 272.7 kB / 3.089 GB, free: 317.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.055/9.956, allocations: 2.109 kB / 3.089 GB, free: 317.9 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