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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001628/0.001628, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002167/0.002167, allocations: 189 kB / 16.25 MB, free: 6.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.492/2.492, allocations: 390.2 MB / 0.6643 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 64.09 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7428/0.7443, allocations: 140.4 MB / 0.9491 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.002764/0.7471, allocations: 1.54 MB / 0.9506 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002313/0.7474, allocations: 45.39 kB / 0.9506 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.7474, allocations: 4 kB / 0.9507 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.249e-05/0.7475, allocations: 1.375 kB / 0.9507 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.607e-05/0.7475, allocations: 13.28 kB / 0.9507 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.7478, allocations: 16.11 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.677e-05/0.7479, allocations: 36.36 kB / 0.9507 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.748, allocations: 8.109 kB / 0.9507 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.7481, allocations: 10.88 kB / 0.9507 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.7481, allocations: 16.05 kB / 0.9507 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.7482, allocations: 2.75 kB / 0.9508 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.587e-05/0.7482, allocations: 6.75 kB / 0.9508 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.7482, allocations: 5.312 kB / 0.9508 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.7482, allocations: 17.42 kB / 0.9508 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.777e-05/0.7483, allocations: 34.17 kB / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.7484, allocations: 0 / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7484, allocations: 0 / 0.9508 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.7484, allocations: 1.375 kB / 0.9508 GB, free: 7.816 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.0004766/0.7489, allocations: 342.4 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.7489, allocations: 13.66 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.749, allocations: 11.22 kB / 0.9512 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.159e-05/0.7491, allocations: 166.1 kB / 0.9513 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.7491, allocations: 1.812 kB / 0.9513 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.7491, allocations: 1.969 kB / 0.9513 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.7493, allocations: 58.09 kB / 0.9514 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.7493, allocations: 192 / 0.9514 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.7493, allocations: 5.031 kB / 0.9514 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.7493, allocations: 0 / 0.9514 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.7495, allocations: 34.84 kB / 0.9514 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.7499, allocations: 272.7 kB / 0.9517 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.7501, allocations: 38.48 kB / 0.9517 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.317e-05/0.7502, allocations: 21.91 kB / 0.9517 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.7502, allocations: 1.094 kB / 0.9517 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.7502, allocations: 32.16 kB / 0.9518 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.7502, allocations: 0 / 0.9518 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003369/0.7506, allocations: 79.95 kB / 0.9518 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.7506, allocations: 56.78 kB / 0.9519 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.852e-05/0.7507, allocations: 100.7 kB / 0.952 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.7507, allocations: 30.92 kB / 0.952 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.7507, allocations: 85.38 kB / 0.9521 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.7507, allocations: 3.938 kB / 0.9521 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.7508, allocations: 12.47 kB / 0.9521 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.104e-05/0.7508, allocations: 314.8 kB / 0.9524 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.054e-05/0.7509, allocations: 13.61 kB / 0.9524 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.063e-05/0.751, allocations: 20.22 kB / 0.9525 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.7511, allocations: 36.64 kB / 0.9525 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.7511, allocations: 3.938 kB / 0.9525 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001535/0.7513, allocations: 66.39 kB / 0.9526 GB, free: 6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.7513, allocations: 13.36 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.7513, allocations: 0 / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.7513, allocations: 1.5 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.7514, allocations: 4.344 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.7514, allocations: 0 / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.7515, allocations: 7.766 kB / 0.9526 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.7515, allocations: 0 / 0.9526 GB, free: 5.988 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.385e-05/0.7515, allocations: 124.2 kB / 0.9527 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.7516, allocations: 5.344 kB / 0.9527 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.7516, allocations: 4.719 kB / 0.9527 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.7516, allocations: 3.984 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.7516, allocations: 1.344 kB / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7516, allocations: 0 / 0.9527 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.7517, allocations: 158.4 kB / 0.9529 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.7517, allocations: 0 / 0.9529 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.7518, allocations: 8.453 kB / 0.9529 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.7518, allocations: 1.219 kB / 0.9529 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.7518, allocations: 0 / 0.9529 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7518, allocations: 1.281 kB / 0.9529 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.7518, allocations: 7.938 kB / 0.9529 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.752, allocations: 161.1 kB / 0.953 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.7521, allocations: 81.02 kB / 0.9531 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.7521, allocations: 1.125 kB / 0.9531 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/0.7522, allocations: 14.73 kB / 0.9531 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.7522, allocations: 1.344 kB / 0.9531 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.7522, allocations: 3.984 kB / 0.9531 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.57e-05/0.7523, allocations: 84.16 kB / 0.9532 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7523, allocations: 0 / 0.9532 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002136/0.7525, allocations: 6.344 kB / 0.9532 GB, free: 5.293 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001091/0.7526, allocations: 98.66 kB / 0.9533 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.7528, allocations: 42.11 kB / 0.9534 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7528, allocations: 1.562 kB / 0.9534 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.238e-05/0.7529, allocations: 13.02 kB / 0.9534 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.7532, allocations: 15.59 kB / 0.9534 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.7535, allocations: 118.8 kB / 0.9535 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.7536, allocations: 0.6848 MB / 0.9542 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.7537, allocations: 5.391 kB / 0.9542 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.7537, allocations: 8.781 kB / 0.9542 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.7537, allocations: 0 / 0.9542 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of Templates: time 0.00254/0.7563, allocations: 0.5597 MB / 0.9547 GB, free: 4.07 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches