Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_10_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.007496/0.007497, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001906/0.001907, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.475/2.475, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001159, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2541, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.0024/0.2565, allocations: 1.467 MB / 1.168 GB, free: 5.809 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002038/0.2568, allocations: 47.83 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.2568, allocations: 4 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.2569, allocations: 3.984 kB / 1.168 GB, free: 5.754 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.364e-05/0.2569, allocations: 11.86 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.2571, allocations: 19.91 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.418e-05/0.2572, allocations: 35.86 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.28e-05/0.2573, allocations: 15.98 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.641e-05/0.2573, allocations: 11.98 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.468e-05/0.2574, allocations: 15.92 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2574, allocations: 4 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.2574, allocations: 0 / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.2574, allocations: 8 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.2575, allocations: 19.86 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.196e-05/0.2576, allocations: 32.11 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2576, allocations: 0 / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2576, allocations: 0 / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2576, allocations: 4 kB / 1.168 GB, free: 5.578 MB / 0.92 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.000402/0.258, allocations: 351.3 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.258, allocations: 12.03 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.2581, allocations: 38.62 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.2581, allocations: 4.938 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.918e-05/0.2582, allocations: 164.4 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.2582, allocations: 384 / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.2582, allocations: 4.375 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.2584, allocations: 54.23 kB / 1.168 GB, free: 4.859 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2584, allocations: 3.938 kB / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.2584, allocations: 0 / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.2585, allocations: 0 / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.2586, allocations: 31.97 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.2591, allocations: 284.8 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.2592, allocations: 34.55 kB / 1.169 GB, free: 4.453 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.305e-05/0.2593, allocations: 20.91 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.2593, allocations: 0 / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.2593, allocations: 30.56 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.2593, allocations: 0 / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0003152/0.2596, allocations: 81.58 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.2597, allocations: 51.41 kB / 1.169 GB, free: 4.242 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.2597, allocations: 101.9 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.2598, allocations: 25.7 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.2598, allocations: 92.12 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.2598, allocations: 3.953 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.2599, allocations: 13.84 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.26, allocations: 314.8 kB / 1.169 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.26, allocations: 15.98 kB / 1.169 GB, free: 3.652 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.889e-05/0.2601, allocations: 15.97 kB / 1.169 GB, free: 3.637 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.2603, allocations: 40.83 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2603, allocations: 0 / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001812/0.2605, allocations: 65.59 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2605, allocations: 4 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.2605, allocations: 256 / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2605, allocations: 4 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.317e-05/0.2606, allocations: 8 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2606, allocations: 3.984 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.2606, allocations: 12.02 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.2607, allocations: 3.938 kB / 1.17 GB, free: 3.488 MB / 0.92 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 6.236e-05/0.2607, allocations: 113.7 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.2608, allocations: 4 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.2608, allocations: 11.52 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.2608, allocations: 0 / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2608, allocations: 0 / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.2608, allocations: 0 / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.2609, allocations: 161.6 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.261, allocations: 4 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.313e-05/0.261, allocations: 7.984 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.261, allocations: 0 / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.261, allocations: 0 / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.261, allocations: 0 / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.261, allocations: 3.938 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.2613, allocations: 167.4 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.2613, allocations: 81.09 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.2613, allocations: 0 / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.2614, allocations: 11.98 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.2615, allocations: 7.984 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.2615, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.411e-05/0.2615, allocations: 79.28 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2615, allocations: 0 / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002176/0.2617, allocations: 11.94 kB / 1.17 GB, free: 2.738 MB / 0.92 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.0004504/0.2622, allocations: 0.6968 MB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001955/0.2624, allocations: 39.98 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2624, allocations: 0 / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.838e-05/0.2625, allocations: 15.98 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.2628, allocations: 4 kB / 1.171 GB, free: 1.957 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.2631, allocations: 147.5 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.2633, allocations: 0.6768 MB / 1.172 GB, free: 1.07 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.45e-05/0.2634, allocations: 4.125 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.2634, allocations: 8.703 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.2634, allocations: 0 / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.2793, allocations: 1.515 MB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.309, allocations: 14.33 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches