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.263/2.263, allocations: 390.5 MB / 398 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.001237/0.001236, allocations: 183.8 kB / 491.2 MB, free: 1.582 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.521/1.521, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009735/0.0009736, allocations: 95.88 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.09e-05/2.092e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3151, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.303/5.618, allocations: 1.733 GB / 2.945 GB, free: 131.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003633/5.619, allocations: 100.5 kB / 2.945 GB, free: 131.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1573/5.776, allocations: 68.9 MB / 3.013 GB, free: 62.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.896e-06/5.776, allocations: 0 / 3.013 GB, free: 62.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001425/5.776, allocations: 27.98 kB / 3.013 GB, free: 62.07 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.003542/5.78, allocations: 1.251 MB / 3.014 GB, free: 60.77 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/5.78, allocations: 15.97 kB / 3.014 GB, free: 60.75 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004656/5.785, allocations: 0.6891 MB / 3.015 GB, free: 60.06 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/5.787, allocations: 0.6775 MB / 3.015 GB, free: 59.34 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.191e-05/5.787, allocations: 32 kB / 3.015 GB, free: 59.31 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000366/5.787, allocations: 60 kB / 3.015 GB, free: 59.25 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002867/5.79, allocations: 1.425 MB / 3.017 GB, free: 57.82 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/5.792, allocations: 1.024 MB / 3.018 GB, free: 56.73 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/5.792, allocations: 0 / 3.018 GB, free: 56.73 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/5.793, allocations: 0 / 3.018 GB, free: 56.73 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/5.793, allocations: 24 kB / 3.018 GB, free: 56.71 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007122/5.8, allocations: 2.956 MB / 3.021 GB, free: 53.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/5.801, allocations: 1.001 MB / 3.022 GB, free: 52.66 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000611/5.802, allocations: 420.2 kB / 3.022 GB, free: 52.25 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007075/5.803, allocations: 478.4 kB / 3.023 GB, free: 51.69 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/5.804, allocations: 0.5844 MB / 3.023 GB, free: 51.09 MB / 1.151 GB Notification: Performance of pre-optimization done (n=100): time 5.56e-06/5.804, allocations: 0 / 3.023 GB, free: 51.09 MB / 1.151 GB Notification: Performance of matching and sorting (n=100): time 0.00501/5.809, allocations: 1.473 MB / 3.025 GB, free: 49.61 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/5.809, allocations: 248.6 kB / 3.025 GB, free: 49.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009148/5.81, allocations: 0.4983 MB / 3.025 GB, free: 48.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/5.81, allocations: 29.7 kB / 3.025 GB, free: 48.77 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/5.81, allocations: 424.3 kB / 3.026 GB, free: 48.34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/5.811, allocations: 315.2 kB / 3.026 GB, free: 48.03 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/5.811, allocations: 0 / 3.026 GB, free: 48.03 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001396/5.811, allocations: 382.8 kB / 3.026 GB, free: 47.65 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004461/5.811, allocations: 318.6 kB / 3.027 GB, free: 47.34 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/5.812, allocations: 433.2 kB / 3.027 GB, free: 46.88 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003192/5.815, allocations: 0.8884 MB / 3.028 GB, free: 46 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/5.815, allocations: 0 / 3.028 GB, free: 46 MB / 1.151 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004641/5.82, allocations: 1.469 MB / 3.029 GB, free: 44.52 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/5.82, allocations: 4 kB / 3.029 GB, free: 44.52 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/5.82, allocations: 4 kB / 3.029 GB, free: 44.51 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006284/5.82, allocations: 80.81 kB / 3.03 GB, free: 44.43 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/5.822, allocations: 255.5 kB / 3.03 GB, free: 44.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/5.824, allocations: 1.449 MB / 3.031 GB, free: 42.61 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/5.825, allocations: 131.3 kB / 3.031 GB, free: 42.48 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/5.825, allocations: 39.97 kB / 3.031 GB, free: 42.44 MB / 1.151 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.0002653/5.825, allocations: 118.1 kB / 3.031 GB, free: 42.32 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00466/5.83, allocations: 1.481 MB / 3.033 GB, free: 40.83 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/5.83, allocations: 79.06 kB / 3.033 GB, free: 40.75 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005285/5.836, allocations: 1.798 MB / 3.035 GB, free: 38.94 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/5.836, allocations: 12 kB / 3.035 GB, free: 38.93 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/5.836, allocations: 0 / 3.035 GB, free: 38.93 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/5.836, allocations: 3.984 kB / 3.035 GB, free: 38.92 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006716/5.842, allocations: 2.818 MB / 3.038 GB, free: 36.06 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/5.842, allocations: 11.94 kB / 3.038 GB, free: 36.05 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/5.844, allocations: 255.6 kB / 3.038 GB, free: 35.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/5.844, allocations: 80.78 kB / 3.038 GB, free: 35.72 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/5.844, allocations: 23.92 kB / 3.038 GB, free: 35.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/5.846, allocations: 1.473 MB / 3.039 GB, free: 34.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/5.846, allocations: 0 / 3.039 GB, free: 34.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00525/5.851, allocations: 1.668 MB / 3.041 GB, free: 32.41 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007034/5.852, allocations: 319.5 kB / 3.041 GB, free: 32.07 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/5.852, allocations: 0 / 3.041 GB, free: 32.07 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/5.854, allocations: 115.8 kB / 3.041 GB, free: 31.96 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/5.854, allocations: 73.2 kB / 3.041 GB, free: 31.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.917e-05/5.854, allocations: 39.97 kB / 3.041 GB, free: 31.85 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006501/5.855, allocations: 406.8 kB / 3.042 GB, free: 31.46 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.855, allocations: 0 / 3.042 GB, free: 31.46 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001641/5.856, allocations: 402.9 kB / 3.042 GB, free: 31.06 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 (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.008986/5.865, allocations: 3.204 MB / 3.045 GB, free: 27.94 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002194/5.868, allocations: 0.9803 MB / 3.046 GB, free: 26.95 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/5.868, allocations: 0 / 3.046 GB, free: 26.95 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/5.869, allocations: 0.6197 MB / 3.047 GB, free: 26.32 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/5.87, allocations: 217.7 kB / 3.047 GB, free: 26.11 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005864/5.876, allocations: 1.777 MB / 3.049 GB, free: 24.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/5.877, allocations: 1.079 MB / 3.05 GB, free: 23.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001799/5.879, allocations: 330.7 kB / 3.05 GB, free: 22.87 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008031/5.88, allocations: 413.2 kB / 3.051 GB, free: 22.46 MB / 1.151 GB Notification: Performance of SimCode: time 2.384e-06/5.88, allocations: 4 kB / 3.051 GB, free: 22.46 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8452/6.725, allocations: 26.47 MB / 3.076 GB, free: 386.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/6.725, allocations: 226.8 kB / 3.077 GB, free: 386.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.842/9.567, allocations: 0 / 3.077 GB, free: 386.6 MB / 1.151 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