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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheSkyBlaBodTem.TBlaSky",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheSkyBlaBodTem.TBlaSky",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009066/0.0009066, allocations: 99.94 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.0009418/0.0009418, allocations: 177.3 kB / 15.95 MB, free: 216 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.305/1.305, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 390.3 MB / 0.6653 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003334, allocations: 8 kB / 0.8145 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6168/0.6171, allocations: 142.3 MB / 0.9535 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.001224/0.6184, allocations: 1.174 MB / 0.9547 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001772/0.6186, allocations: 51.48 kB / 0.9547 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.6186, allocations: 1.25 kB / 0.9547 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.6187, allocations: 0 / 0.9547 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.661e-05/0.6187, allocations: 13.17 kB / 0.9547 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.6189, allocations: 18.25 kB / 0.9547 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.597e-05/0.619, allocations: 24.12 kB / 0.9548 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.005e-05/0.619, allocations: 7.547 kB / 0.9548 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.6191, allocations: 9.75 kB / 0.9548 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.157e-05/0.6191, allocations: 12.8 kB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.6192, allocations: 1.531 kB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.6192, allocations: 1.656 kB / 0.9548 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.6192, allocations: 8.859 kB / 0.9548 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.6192, allocations: 29.48 kB / 0.9548 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.374e-05/0.6193, allocations: 23.56 kB / 0.9548 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.6193, allocations: 0 / 0.9548 GB, free: 7 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6193, allocations: 0 / 0.9548 GB, free: 7 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.6193, allocations: 0 / 0.9548 GB, free: 7 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.0003505/0.6197, allocations: 342 kB / 0.9552 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.6197, allocations: 13.91 kB / 0.9552 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.6197, allocations: 5.203 kB / 0.9552 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.749e-05/0.6198, allocations: 168.4 kB / 0.9554 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.6198, allocations: 1.25 kB / 0.9554 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.6199, allocations: 1.25 kB / 0.9554 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.62, allocations: 58.69 kB / 0.9554 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.62, allocations: 1.469 kB / 0.9554 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.6201, allocations: 4 kB / 0.9554 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.6201, allocations: 0 / 0.9554 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.6202, allocations: 52.03 kB / 0.9555 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.6207, allocations: 293.5 kB / 0.9557 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.6208, allocations: 36.72 kB / 0.9558 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.6208, allocations: 1.156 kB / 0.9558 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.6208, allocations: 39.72 kB / 0.9558 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.6208, allocations: 0 / 0.9558 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003286/0.6212, allocations: 99.28 kB / 0.9559 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.6212, allocations: 52.38 kB / 0.956 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.283e-05/0.6212, allocations: 112.7 kB / 0.9561 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.6213, allocations: 26.61 kB / 0.9561 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.983e-05/0.6213, allocations: 85.17 kB / 0.9562 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.6213, allocations: 4.969 kB / 0.9562 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.6213, allocations: 0 / 0.9562 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.6214, allocations: 315.9 kB / 0.9565 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.4e-05/0.6215, allocations: 21.2 kB / 0.9565 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/0.6215, allocations: 24.86 kB / 0.9565 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.9e-05/0.6216, allocations: 21.33 kB / 0.9566 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6216, allocations: 1 kB / 0.9566 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001796/0.6218, allocations: 74.72 kB / 0.9566 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.6218, allocations: 5.312 kB / 0.9566 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.6219, allocations: 5.078 kB / 0.9566 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.6219, allocations: 32 / 0.9566 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.999e-05/0.622, allocations: 19.38 kB / 0.9567 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.622, allocations: 0 / 0.9567 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.622, allocations: 6.406 kB / 0.9567 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-06/0.622, allocations: 0 / 0.9567 GB, free: 5.203 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 4.199e-05/0.6221, allocations: 116 kB / 0.9568 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.6221, allocations: 2.25 kB / 0.9568 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.695e-05/0.6221, allocations: 12.61 kB / 0.9568 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.6221, allocations: 0 / 0.9568 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6221, allocations: 3.953 kB / 0.9568 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.6221, allocations: 1.062 kB / 0.9568 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.6223, allocations: 157.8 kB / 0.9569 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6223, allocations: 1.125 kB / 0.9569 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.243e-05/0.6223, allocations: 6.344 kB / 0.9569 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.6223, allocations: 1.031 kB / 0.9569 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.02e-06/0.6223, allocations: 0 / 0.9569 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.6223, allocations: 1.156 kB / 0.9569 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6223, allocations: 7.938 kB / 0.957 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.6225, allocations: 174.5 kB / 0.9571 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.6226, allocations: 82.05 kB / 0.9572 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.6226, allocations: 0.8438 kB / 0.9572 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.6227, allocations: 18.42 kB / 0.9572 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.6227, allocations: 4.891 kB / 0.9572 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.6227, allocations: 1.125 kB / 0.9572 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.238e-05/0.6228, allocations: 80.59 kB / 0.9573 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6228, allocations: 0 / 0.9573 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002168/0.623, allocations: 9.328 kB / 0.9573 GB, free: 4.512 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 8.257e-05/0.6231, allocations: 114.9 kB / 0.9574 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.6233, allocations: 36.12 kB / 0.9575 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6233, allocations: 0 / 0.9575 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.178e-05/0.6234, allocations: 29.86 kB / 0.9575 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.6236, allocations: 4.25 kB / 0.9575 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001927/0.6238, allocations: 119.8 kB / 0.9576 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.343e-05/0.6239, allocations: 0.6834 MB / 0.9583 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.434e-05/0.6239, allocations: 1.125 kB / 0.9583 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.6239, allocations: 8.531 kB / 0.9583 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6239, allocations: 0 / 0.9583 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of Templates: time 0.002173/0.6261, allocations: 0.5112 MB / 0.9588 GB, free: 3.309 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.makefile (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 & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.csv","../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches