Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.554/2.554, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001226/0.001226, allocations: 184.8 kB / 496.1 MB, free: 12.88 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.46/1.46, allocations: 221.3 MB / 0.7915 GB, free: 5.426 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.0008574/0.0008573, allocations: 91.97 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.779e-05/2.782e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2294, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.093/4.323, allocations: 1.732 GB / 2.951 GB, free: 81.73 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/4.323, allocations: 87.94 kB / 2.951 GB, free: 81.64 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1327/4.456, allocations: 65.47 MB / 3.015 GB, free: 15.89 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.944e-06/4.456, allocations: 0 / 3.015 GB, free: 15.89 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.151e-05/4.456, allocations: 31.94 kB / 3.015 GB, free: 15.86 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001807/4.458, allocations: 1.119 MB / 3.016 GB, free: 14.69 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/4.458, allocations: 16.03 kB / 3.016 GB, free: 14.67 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001359/4.458, allocations: 143.7 kB / 3.016 GB, free: 14.52 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/4.459, allocations: 302.4 kB / 3.017 GB, free: 14.23 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000914/4.46, allocations: 0.6308 MB / 3.017 GB, free: 13.55 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/4.46, allocations: 70 kB / 3.017 GB, free: 13.48 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/4.461, allocations: 84 kB / 3.017 GB, free: 13.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/4.462, allocations: 0.9294 MB / 3.018 GB, free: 12.44 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/4.462, allocations: 3.953 kB / 3.018 GB, free: 12.43 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.37e-05/4.462, allocations: 40 kB / 3.018 GB, free: 12.39 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/4.462, allocations: 20 kB / 3.018 GB, free: 12.38 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/4.463, allocations: 1.108 MB / 3.02 GB, free: 11.26 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/4.467, allocations: 2.619 MB / 3.022 GB, free: 8.574 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/4.469, allocations: 0.8592 MB / 3.023 GB, free: 7.68 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/4.469, allocations: 283.1 kB / 3.023 GB, free: 7.398 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.028e-05/4.469, allocations: 28.81 kB / 3.023 GB, free: 7.371 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005805/4.47, allocations: 437.2 kB / 3.024 GB, free: 6.926 MB / 1.167 GB Notification: Performance of pre-optimization done (n=75): time 2.305e-06/4.47, allocations: 0 / 3.024 GB, free: 6.926 MB / 1.167 GB Notification: Performance of matching and sorting (n=75): time 0.00144/4.471, allocations: 0.7188 MB / 3.024 GB, free: 6.195 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/4.471, allocations: 240.1 kB / 3.025 GB, free: 5.906 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006211/4.472, allocations: 0.5894 MB / 3.025 GB, free: 5.312 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.617e-05/4.472, allocations: 37.7 kB / 3.025 GB, free: 5.27 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/4.472, allocations: 408.1 kB / 3.026 GB, free: 4.863 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/4.472, allocations: 248.4 kB / 3.026 GB, free: 4.617 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/4.472, allocations: 16 kB / 3.026 GB, free: 4.602 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.086e-05/4.472, allocations: 378.7 kB / 3.026 GB, free: 4.223 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/4.473, allocations: 217.5 kB / 3.026 GB, free: 4.012 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/4.473, allocations: 329 kB / 3.027 GB, free: 3.66 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/4.473, allocations: 254 kB / 3.027 GB, free: 3.414 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/4.473, allocations: 0 / 3.027 GB, free: 3.414 MB / 1.167 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001328/4.475, allocations: 0.7149 MB / 3.028 GB, free: 2.688 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/4.475, allocations: 5.562 kB / 3.028 GB, free: 2.684 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/4.475, allocations: 0 / 3.028 GB, free: 2.684 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/4.475, allocations: 88.78 kB / 3.028 GB, free: 2.594 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006638/4.476, allocations: 163.7 kB / 3.028 GB, free: 2.434 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/4.478, allocations: 1.52 MB / 3.029 GB, free: 0.7734 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/4.478, allocations: 95.48 kB / 3.029 GB, free: 0.6797 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/4.478, allocations: 35.97 kB / 3.029 GB, free: 0.6445 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 (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.0001497/4.479, allocations: 144.9 kB / 3.03 GB, free: 0.4961 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/4.479, allocations: 78.97 kB / 3.03 GB, free: 428 kB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.705/5.184, allocations: 0.9983 MB / 3.031 GB, free: 399.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/5.184, allocations: 14.08 kB / 3.031 GB, free: 399.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/5.184, allocations: 0.5625 kB / 3.031 GB, free: 399.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/5.184, allocations: 6.203 kB / 3.031 GB, free: 399.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003966/5.188, allocations: 1.95 MB / 3.033 GB, free: 399.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/5.188, allocations: 1.797 kB / 3.033 GB, free: 399.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000803/5.189, allocations: 169.4 kB / 3.033 GB, free: 399.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005298/5.189, allocations: 82.05 kB / 3.033 GB, free: 399.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/5.189, allocations: 25.19 kB / 3.033 GB, free: 399.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/5.191, allocations: 1.54 MB / 3.034 GB, free: 398.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/5.191, allocations: 5.188 kB / 3.034 GB, free: 398.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/5.193, allocations: 0.9054 MB / 3.035 GB, free: 398 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005266/5.193, allocations: 291.8 kB / 3.036 GB, free: 397.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/5.194, allocations: 21.95 kB / 3.036 GB, free: 397.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007447/5.194, allocations: 85.06 kB / 3.036 GB, free: 397.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/5.195, allocations: 61.39 kB / 3.036 GB, free: 397.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/5.195, allocations: 29.23 kB / 3.036 GB, free: 397.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007709/5.195, allocations: 493.2 kB / 3.036 GB, free: 397.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.3e-07/5.195, allocations: 0 / 3.036 GB, free: 397.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001247/5.197, allocations: 379.1 kB / 3.037 GB, free: 397.8 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 (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.004866/5.202, allocations: 2.379 MB / 3.039 GB, free: 397 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001908/5.204, allocations: 0.7149 MB / 3.04 GB, free: 396.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/5.204, allocations: 0 / 3.04 GB, free: 396.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009228/5.205, allocations: 495.7 kB / 3.04 GB, free: 396.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/5.206, allocations: 231 kB / 3.04 GB, free: 396.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/5.211, allocations: 1.637 MB / 3.042 GB, free: 396.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008593/5.212, allocations: 1.046 MB / 3.043 GB, free: 395.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001269/5.213, allocations: 272.7 kB / 3.043 GB, free: 395.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006464/5.214, allocations: 387.4 kB / 3.044 GB, free: 395.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.062e-06/5.214, allocations: 1.375 kB / 3.044 GB, free: 395.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08136/5.295, allocations: 31.68 MB / 3.074 GB, free: 393.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/5.295, allocations: 264.8 kB / 3.075 GB, free: 393.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.275/8.571, allocations: 5.266 kB / 3.075 GB, free: 393.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat does not exist to compare? outputFormat=mat