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/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.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/Buildings 10.0.0-master/package.mo): time 2.392/2.392, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001009/0.001009, allocations: 173 kB / 496.1 MB, free: 12.89 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.444/1.444, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001016/0.001016, allocations: 99.75 kB / 0.9318 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.828e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2525, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8563/1.109, allocations: 150.2 MB / 1.366 GB, free: 3.789 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/1.109, allocations: 89.28 kB / 1.366 GB, free: 3.734 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002265/1.111, allocations: 0.8088 MB / 1.366 GB, free: 2.996 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.294e-06/1.111, allocations: 0 / 1.366 GB, free: 2.996 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.988e-06/1.111, allocations: 4 kB / 1.366 GB, free: 2.992 MB / 0.823 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.0003587/1.112, allocations: 334.4 kB / 1.367 GB, free: 2.625 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/1.112, allocations: 8.031 kB / 1.367 GB, free: 2.617 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/1.112, allocations: 34.56 kB / 1.367 GB, free: 2.574 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/1.112, allocations: 4.766 kB / 1.367 GB, free: 2.57 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/1.112, allocations: 174.9 kB / 1.367 GB, free: 2.359 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/1.112, allocations: 0 / 1.367 GB, free: 2.359 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/1.112, allocations: 0 / 1.367 GB, free: 2.359 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/1.112, allocations: 48.44 kB / 1.367 GB, free: 2.312 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/1.112, allocations: 0 / 1.367 GB, free: 2.312 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.112, allocations: 0 / 1.367 GB, free: 2.312 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/1.112, allocations: 4 kB / 1.367 GB, free: 2.309 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.628e-05/1.112, allocations: 11.31 kB / 1.367 GB, free: 2.301 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/1.113, allocations: 260.2 kB / 1.367 GB, free: 2.004 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.859e-05/1.113, allocations: 25.7 kB / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/1.113, allocations: 8.859 kB / 1.367 GB, free: 1.961 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/1.113, allocations: 4.062 kB / 1.367 GB, free: 1.957 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/1.113, allocations: 30.56 kB / 1.367 GB, free: 1.918 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/1.113, allocations: 0 / 1.367 GB, free: 1.918 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001424/1.113, allocations: 38.08 kB / 1.367 GB, free: 1.879 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/1.113, allocations: 55.36 kB / 1.367 GB, free: 1.812 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.43e-05/1.113, allocations: 97.3 kB / 1.368 GB, free: 1.715 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/1.113, allocations: 29.7 kB / 1.368 GB, free: 1.68 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/1.113, allocations: 91.52 kB / 1.368 GB, free: 1.59 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/1.113, allocations: 0 / 1.368 GB, free: 1.59 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/1.113, allocations: 3.938 kB / 1.368 GB, free: 1.586 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.113, allocations: 314.3 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/1.113, allocations: 5.969 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.149e-05/1.114, allocations: 4 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.787e-05/1.114, allocations: 7.609 kB / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.114, allocations: 0 / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.528e-05/1.114, allocations: 37.77 kB / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/1.114, allocations: 5.25 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/1.114, allocations: 3.938 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.114, allocations: 4 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/1.114, allocations: 7.984 kB / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/1.114, allocations: 0 / 1.368 GB, free: 1.199 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.332e-05/1.114, allocations: 11.95 kB / 1.368 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/1.114, allocations: 4.906 kB / 1.368 GB, free: 1.184 MB / 0.823 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 () * 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 6.731e-05/1.114, allocations: 108.3 kB / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/1.114, allocations: 7.906 kB / 1.368 GB, free: 1.066 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.222e-05/1.114, allocations: 7.594 kB / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/1.114, allocations: 0 / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.114, allocations: 0 / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.114, allocations: 0 / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/1.114, allocations: 169 kB / 1.368 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.114, allocations: 0.5 kB / 1.368 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-05/1.114, allocations: 12 kB / 1.368 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/1.114, allocations: 0 / 1.368 GB, free: 0.8398 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/1.114, allocations: 3.984 kB / 1.368 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.114, allocations: 256 / 1.368 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.114, allocations: 4 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/1.114, allocations: 134.5 kB / 1.368 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/1.114, allocations: 77.11 kB / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/1.114, allocations: 8.031 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/1.115, allocations: 11.98 kB / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/1.115, allocations: 11.97 kB / 1.369 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/1.115, allocations: 0 / 1.369 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.359e-05/1.115, allocations: 82.59 kB / 1.369 GB, free: 500 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.8e-07/1.115, allocations: 3.938 kB / 1.369 GB, free: 496 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002186/1.115, allocations: 4 kB / 1.369 GB, free: 492 kB / 0.823 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 () * 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.0004071/1.115, allocations: 0.6797 MB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.406e-05/1.115, allocations: 6.688 kB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.115, allocations: 0 / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.057e-05/1.115, allocations: 7.938 kB / 1.369 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/1.116, allocations: 13.48 kB / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/1.116, allocations: 89.89 kB / 1.369 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/1.116, allocations: 0.6809 MB / 1.37 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.1e-05/1.116, allocations: 3.984 kB / 1.37 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/1.116, allocations: 11.44 kB / 1.37 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of SimCode: time 2.895e-06/1.116, allocations: 0 / 1.37 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/1.129, allocations: 1.226 MB / 1.371 GB, free: 13.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/1.129, allocations: 204.6 kB / 1.371 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/2.6, allocations: 1.375 kB / 1.371 GB, free: 13.68 MB / 0.8386 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) 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