Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.413/2.413, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.674/4.674, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005107/0.0005103, allocations: 8 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551/1.551, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.002002/1.553, allocations: 1.175 MB / 0.982 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002432/1.554, allocations: 43.84 kB / 0.9821 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/1.554, allocations: 0 / 0.9821 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/1.554, allocations: 0 / 0.9821 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/1.554, allocations: 15.97 kB / 0.9821 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/1.554, allocations: 11.98 kB / 0.9821 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.82e-05/1.554, allocations: 23.95 kB / 0.9821 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/1.554, allocations: 4 kB / 0.9821 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.682e-05/1.554, allocations: 19.92 kB / 0.9821 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/1.554, allocations: 15.92 kB / 0.9821 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/1.554, allocations: 0 / 0.9821 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.562e-05/1.554, allocations: 4 kB / 0.9821 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.864e-05/1.554, allocations: 3.984 kB / 0.9822 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/1.554, allocations: 33.7 kB / 0.9822 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.324e-05/1.554, allocations: 14.22 kB / 0.9822 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.554, allocations: 0 / 0.9822 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.615e-06/1.554, allocations: 0 / 0.9822 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.13e-06/1.554, allocations: 0 / 0.9822 GB, free: 4.895 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005085/1.555, allocations: 351.2 kB / 0.9825 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/1.555, allocations: 8.031 kB / 0.9825 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/1.555, allocations: 30.56 kB / 0.9826 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/1.555, allocations: 11.91 kB / 0.9826 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/1.555, allocations: 167 kB / 0.9827 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/1.555, allocations: 7.938 kB / 0.9827 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/1.555, allocations: 4 kB / 0.9828 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/1.556, allocations: 65.56 kB / 0.9828 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.556, allocations: 0 / 0.9828 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/1.556, allocations: 0 / 0.9828 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/1.556, allocations: 4 kB / 0.9828 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/1.556, allocations: 39.97 kB / 0.9829 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/1.556, allocations: 280.9 kB / 0.9831 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/1.557, allocations: 58.42 kB / 0.9832 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/1.557, allocations: 0 / 0.9832 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/1.557, allocations: 30.56 kB / 0.9832 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/1.557, allocations: 0 / 0.9832 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0003893/1.557, allocations: 85.72 kB / 0.9833 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.557, allocations: 63.33 kB / 0.9834 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/1.557, allocations: 97.86 kB / 0.9834 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/1.557, allocations: 33.83 kB / 0.9835 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/1.557, allocations: 92.03 kB / 0.9836 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/1.557, allocations: 0 / 0.9836 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/1.557, allocations: 0 / 0.9836 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.558, allocations: 310.8 kB / 0.9839 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-05/1.558, allocations: 23.98 kB / 0.9839 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.219e-05/1.558, allocations: 19.98 kB / 0.9839 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.672e-05/1.558, allocations: 15.98 kB / 0.9839 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.558, allocations: 0 / 0.9839 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002031/1.558, allocations: 81.67 kB / 0.984 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.558, allocations: 4 kB / 0.984 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.558, allocations: 0 / 0.984 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/1.558, allocations: 0 / 0.984 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/1.558, allocations: 11.98 kB / 0.984 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/1.558, allocations: 3.938 kB / 0.984 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.478e-05/1.558, allocations: 16.02 kB / 0.984 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/1.558, allocations: 0 / 0.984 GB, free: 2.789 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001284/1.558, allocations: 113.8 kB / 0.9841 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/1.559, allocations: 11.86 kB / 0.9841 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/1.559, allocations: 3.531 kB / 0.9842 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.559, allocations: 3.938 kB / 0.9842 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.559, allocations: 0 / 0.9842 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.559, allocations: 0 / 0.9842 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/1.559, allocations: 165.7 kB / 0.9843 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.559, allocations: 0 / 0.9843 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/1.559, allocations: 11.98 kB / 0.9843 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.559, allocations: 0 / 0.9843 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/1.559, allocations: 3.953 kB / 0.9843 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/1.559, allocations: 256 / 0.9843 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.559, allocations: 3.938 kB / 0.9843 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/1.559, allocations: 175.5 kB / 0.9845 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/1.559, allocations: 77.11 kB / 0.9846 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/1.559, allocations: 0 / 0.9846 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/1.559, allocations: 27.91 kB / 0.9846 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/1.559, allocations: 0 / 0.9846 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/1.559, allocations: 0 / 0.9846 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.75e-05/1.56, allocations: 87.27 kB / 0.9847 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.56, allocations: 4 kB / 0.9847 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002258/1.56, allocations: 4 kB / 0.9847 GB, free: 2.016 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006209/1.56, allocations: 0.7007 MB / 0.9854 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002272/1.561, allocations: 44 kB / 0.9854 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.561, allocations: 3.938 kB / 0.9854 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.543e-05/1.561, allocations: 19.98 kB / 0.9854 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/1.561, allocations: 13.36 kB / 0.9855 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000434/1.561, allocations: 145.9 kB / 0.9856 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/1.562, allocations: 0.6848 MB / 0.9863 GB, free: 324 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.818e-05/1.562, allocations: 3.938 kB / 0.9863 GB, free: 320 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/1.562, allocations: 7.438 kB / 0.9863 GB, free: 312 kB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/1.562, allocations: 0 / 0.9863 GB, free: 312 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/1.575, allocations: 1.229 MB / 0.9875 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/1.575, allocations: 227.4 kB / 0.9877 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.841/4.416, allocations: 4 kB / 0.9877 GB, free: 15.05 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.mat does not exist to compare? outputFormat=mat