Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.61/2.61, 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.00118/0.00118, allocations: 176.8 kB / 496.1 MB, free: 12.85 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.546/1.546, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0009251/0.0009251, allocations: 91.95 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.172e-05/4.175e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3106, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.919/4.229, allocations: 1.732 GB / 2.951 GB, free: 81.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/4.23, allocations: 87.95 kB / 2.951 GB, free: 81.61 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1396/4.369, allocations: 68.08 MB / 3.018 GB, free: 13.25 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.483e-06/4.369, allocations: 0 / 3.018 GB, free: 13.25 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.291e-05/4.369, allocations: 24 kB / 3.018 GB, free: 13.23 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001637/4.371, allocations: 1.13 MB / 3.019 GB, free: 12.05 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/4.371, allocations: 8.031 kB / 3.019 GB, free: 12.04 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/4.371, allocations: 143.6 kB / 3.019 GB, free: 11.89 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/4.372, allocations: 214.5 kB / 3.019 GB, free: 11.68 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008952/4.373, allocations: 0.6269 MB / 3.02 GB, free: 11.01 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/4.373, allocations: 66 kB / 3.02 GB, free: 10.95 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/4.373, allocations: 87.98 kB / 3.02 GB, free: 10.86 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/4.375, allocations: 0.9108 MB / 3.021 GB, free: 9.91 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/4.375, allocations: 0 / 3.021 GB, free: 9.91 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.004e-05/4.375, allocations: 39.95 kB / 3.021 GB, free: 9.871 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/4.375, allocations: 24 kB / 3.021 GB, free: 9.848 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/4.376, allocations: 1.077 MB / 3.022 GB, free: 8.766 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003325/4.379, allocations: 2.593 MB / 3.024 GB, free: 6.102 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009786/4.38, allocations: 0.7847 MB / 3.025 GB, free: 5.285 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/4.381, allocations: 267.1 kB / 3.025 GB, free: 5.02 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006137/4.381, allocations: 470.3 kB / 3.026 GB, free: 4.469 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005827/4.382, allocations: 421.2 kB / 3.026 GB, free: 4.039 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 2.575e-06/4.382, allocations: 0 / 3.026 GB, free: 4.039 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.001579/4.384, allocations: 0.6915 MB / 3.027 GB, free: 3.336 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/4.384, allocations: 248 kB / 3.027 GB, free: 3.039 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007298/4.384, allocations: 0.5856 MB / 3.028 GB, free: 2.449 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.755e-05/4.384, allocations: 41.7 kB / 3.028 GB, free: 2.402 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/4.385, allocations: 400.1 kB / 3.028 GB, free: 2.004 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/4.385, allocations: 240.6 kB / 3.028 GB, free: 1.766 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/4.385, allocations: 12 kB / 3.028 GB, free: 1.754 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.448e-05/4.385, allocations: 382.7 kB / 3.029 GB, free: 1.371 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/4.385, allocations: 201.5 kB / 3.029 GB, free: 1.176 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/4.386, allocations: 313.1 kB / 3.029 GB, free: 0.8398 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/4.386, allocations: 250 kB / 3.03 GB, free: 0.5977 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/4.386, allocations: 0 / 3.03 GB, free: 0.5977 MB / 1.167 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.568/4.954, allocations: 0.6813 MB / 3.03 GB, free: 400 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/4.954, allocations: 6.156 kB / 3.03 GB, free: 400 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/4.954, allocations: 1.141 kB / 3.03 GB, free: 400 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006529/4.955, allocations: 86.56 kB / 3.03 GB, free: 400 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008204/4.956, allocations: 139.4 kB / 3.03 GB, free: 400 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/4.957, allocations: 1.522 MB / 3.032 GB, free: 398.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008324/4.958, allocations: 81.42 kB / 3.032 GB, free: 398.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.033e-05/4.958, allocations: 28.55 kB / 3.032 GB, free: 398.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0002218/4.959, allocations: 147.6 kB / 3.032 GB, free: 398.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/4.959, allocations: 78.14 kB / 3.032 GB, free: 398.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/4.961, allocations: 0.9599 MB / 3.033 GB, free: 398.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/4.961, allocations: 8.922 kB / 3.033 GB, free: 398.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/4.961, allocations: 0.7812 kB / 3.033 GB, free: 398.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/4.961, allocations: 8.125 kB / 3.033 GB, free: 398.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003531/4.965, allocations: 1.9 MB / 3.035 GB, free: 398.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/4.965, allocations: 0 / 3.035 GB, free: 398.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006332/4.966, allocations: 143.9 kB / 3.035 GB, free: 398.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000504/4.966, allocations: 83.67 kB / 3.035 GB, free: 398.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/4.966, allocations: 21.25 kB / 3.035 GB, free: 398.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001624/4.968, allocations: 1.546 MB / 3.037 GB, free: 396.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/4.968, allocations: 5.25 kB / 3.037 GB, free: 396.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/4.97, allocations: 0.8722 MB / 3.038 GB, free: 396.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000545/4.97, allocations: 286 kB / 3.038 GB, free: 396.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/4.97, allocations: 15.86 kB / 3.038 GB, free: 396.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/4.971, allocations: 70.55 kB / 3.038 GB, free: 396.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/4.971, allocations: 59.48 kB / 3.038 GB, free: 396.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.733e-05/4.971, allocations: 32.34 kB / 3.038 GB, free: 396.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007462/4.972, allocations: 490.5 kB / 3.039 GB, free: 396.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/4.972, allocations: 0 / 3.039 GB, free: 396.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001556/4.974, allocations: 388.6 kB / 3.039 GB, free: 396.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 (84): * Single equations (assignments): 81 * 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.003891/4.978, allocations: 2.368 MB / 3.041 GB, free: 395.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001396/4.979, allocations: 0.6786 MB / 3.042 GB, free: 395.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/4.979, allocations: 4.375 kB / 3.042 GB, free: 395.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007795/4.98, allocations: 476 kB / 3.042 GB, free: 395.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/4.981, allocations: 236.1 kB / 3.043 GB, free: 395.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/4.985, allocations: 1.613 MB / 3.044 GB, free: 395 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007056/4.986, allocations: 1.039 MB / 3.045 GB, free: 394.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009016/4.987, allocations: 263.8 kB / 3.045 GB, free: 394.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004884/4.988, allocations: 372.1 kB / 3.046 GB, free: 394.3 MB / 1.167 GB Notification: Performance of SimCode: time 6.51e-07/4.988, allocations: 1.312 kB / 3.046 GB, free: 394.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07215/5.06, allocations: 31.45 MB / 3.076 GB, free: 392.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002451/5.06, allocations: 263.2 kB / 3.077 GB, free: 392.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.131/8.191, allocations: 4 kB / 3.077 GB, free: 392.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat does not exist to compare? outputFormat=mat