Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_9_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.001399/0.001399, allocations: 99.55 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.001472/0.001472, 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 1.417/1.417, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.531/2.531, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 12 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.7719, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.001711/0.7737, allocations: 1.181 MB / 0.9547 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001886/0.7739, allocations: 35.81 kB / 0.9548 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.941e-05/0.774, allocations: 5.469 kB / 0.9548 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.774, allocations: 0 / 0.9548 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.595e-05/0.774, allocations: 13.44 kB / 0.9548 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.7742, allocations: 8.375 kB / 0.9548 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.209e-05/0.7743, allocations: 29.86 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.786e-05/0.7744, allocations: 2.875 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.998e-05/0.7744, allocations: 18.75 kB / 0.9549 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.069e-05/0.7745, allocations: 16.08 kB / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.7745, allocations: 2.531 kB / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.7745, allocations: 1.406 kB / 0.9549 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.7746, allocations: 4 kB / 0.9549 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.7746, allocations: 28.52 kB / 0.9549 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.632e-05/0.7746, allocations: 20.28 kB / 0.9549 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.7746, allocations: 3.938 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7747, allocations: 1.188 kB / 0.9549 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.7747, allocations: 0 / 0.9549 GB, free: 6.992 MB / 0.7169 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.000358/0.775, allocations: 341 kB / 0.9553 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.7751, allocations: 13.47 kB / 0.9553 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.7751, allocations: 39.84 kB / 0.9553 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.7751, allocations: 5.391 kB / 0.9553 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.089e-05/0.7752, allocations: 169.4 kB / 0.9555 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.7753, allocations: 1.344 kB / 0.9555 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.7753, allocations: 0 / 0.9555 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.7755, allocations: 55.89 kB / 0.9555 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.7755, allocations: 4 kB / 0.9555 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.7755, allocations: 0 / 0.9555 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.7755, allocations: 5.375 kB / 0.9555 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.7757, allocations: 43.27 kB / 0.9556 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.7761, allocations: 295.5 kB / 0.9559 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.7762, allocations: 35.88 kB / 0.9559 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.7762, allocations: 1.25 kB / 0.9559 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.7763, allocations: 31.66 kB / 0.9559 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.7763, allocations: 0 / 0.9559 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003418/0.7766, allocations: 99.78 kB / 0.956 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.7767, allocations: 55.41 kB / 0.9561 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.448e-05/0.7767, allocations: 101.1 kB / 0.9562 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.7767, allocations: 25.7 kB / 0.9562 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.7768, allocations: 86.84 kB / 0.9563 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.7768, allocations: 7.891 kB / 0.9563 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.7768, allocations: 4.125 kB / 0.9563 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.91e-05/0.7769, allocations: 316.2 kB / 0.9566 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.777, allocations: 16.73 kB / 0.9566 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.289e-05/0.777, allocations: 17.7 kB / 0.9566 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.434e-05/0.7771, allocations: 29 kB / 0.9566 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7771, allocations: 0 / 0.9566 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001972/0.7773, allocations: 72.67 kB / 0.9567 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.7774, allocations: 7.938 kB / 0.9567 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.7774, allocations: 1.594 kB / 0.9567 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7774, allocations: 3.953 kB / 0.9567 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.7775, allocations: 10.95 kB / 0.9567 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.7775, allocations: 4.234 kB / 0.9567 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.7776, allocations: 10.52 kB / 0.9568 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.7776, allocations: 4 kB / 0.9568 GB, free: 5.16 MB / 0.7169 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 5.587e-05/0.7776, allocations: 115.9 kB / 0.9569 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.7777, allocations: 2.5 kB / 0.9569 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.7777, allocations: 7.469 kB / 0.9569 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7777, allocations: 1.031 kB / 0.9569 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.7777, allocations: 3.953 kB / 0.9569 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.7777, allocations: 5.109 kB / 0.9569 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.7778, allocations: 162.3 kB / 0.957 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7778, allocations: 0 / 0.957 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.7779, allocations: 11.33 kB / 0.9571 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.7779, allocations: 9.094 kB / 0.9571 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.7779, allocations: 0 / 0.9571 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.7779, allocations: 0 / 0.9571 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7779, allocations: 1.094 kB / 0.9571 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.7782, allocations: 178.2 kB / 0.9572 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.7782, allocations: 78.23 kB / 0.9573 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.7782, allocations: 0 / 0.9573 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-05/0.7783, allocations: 15.42 kB / 0.9573 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.7783, allocations: 1 kB / 0.9573 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.7783, allocations: 1.125 kB / 0.9573 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.507e-05/0.7784, allocations: 95.38 kB / 0.9574 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7784, allocations: 0 / 0.9574 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002208/0.7786, allocations: 5.031 kB / 0.9574 GB, free: 4.457 MB / 0.7169 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.0003729/0.779, allocations: 0.7013 MB / 0.9581 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.7792, allocations: 43.16 kB / 0.9581 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.7792, allocations: 5.312 kB / 0.9582 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.763e-05/0.7793, allocations: 17.48 kB / 0.9582 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.7795, allocations: 9.578 kB / 0.9582 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.7798, allocations: 147.6 kB / 0.9583 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.556e-05/0.7799, allocations: 0.6785 MB / 0.959 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.737e-05/0.78, allocations: 6.094 kB / 0.959 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.78, allocations: 13.55 kB / 0.959 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.78, allocations: 1.219 kB / 0.959 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01101/0.791, allocations: 1.222 MB / 0.9602 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.7912, allocations: 231.6 kB / 0.9604 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.447, allocations: 3.938 kB / 0.9604 GB, free: 2.113 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.mat does not exist to compare? outputFormat=mat