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.005283/0.005283, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001241/0.001241, allocations: 189.4 kB / 16.67 MB, free: 5.973 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.419/2.419, allocations: 437 MB / 0.7105 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 55.91 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.7159, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.002216/0.7182, allocations: 1.476 MB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001937/0.7184, allocations: 55.81 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.7184, allocations: 8 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.7185, allocations: 0 / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.7185, allocations: 11.86 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.7187, allocations: 15.97 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.62e-05/0.7188, allocations: 35.86 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.571e-05/0.7189, allocations: 7.984 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.141e-05/0.7189, allocations: 19.92 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.719, allocations: 11.98 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.511e-05/0.719, allocations: 7.938 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.387e-06/0.719, allocations: 4 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.7191, allocations: 8 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.7191, allocations: 11.94 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.498e-05/0.7192, allocations: 35.67 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.7192, allocations: 0 / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7192, allocations: 0 / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.7192, allocations: 0 / 1.168 GB, free: 2.023 MB / 0.8887 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.0004002/0.7196, allocations: 349.3 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.7197, allocations: 12.03 kB / 1.168 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.7197, allocations: 38.69 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.7197, allocations: 4.938 kB / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.528e-05/0.7198, allocations: 164.3 kB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.7198, allocations: 384 / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.045e-06/0.7199, allocations: 4.375 kB / 1.168 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.72, allocations: 50.23 kB / 1.168 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.72, allocations: 3.938 kB / 1.168 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.7201, allocations: 0 / 1.168 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.7201, allocations: 0 / 1.168 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.7202, allocations: 39.95 kB / 1.168 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000423/0.7207, allocations: 284.8 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.7208, allocations: 30.56 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.329e-05/0.7209, allocations: 32.88 kB / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.7209, allocations: 0 / 1.169 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.7209, allocations: 30.56 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.7209, allocations: 0 / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0003111/0.7212, allocations: 73.59 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.7213, allocations: 55.53 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.6e-05/0.7213, allocations: 105.8 kB / 1.169 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.7214, allocations: 29.64 kB / 1.169 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.7214, allocations: 92.12 kB / 1.169 GB, free: 456 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.7214, allocations: 3.953 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.7214, allocations: 9.719 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.83e-05/0.7215, allocations: 318.8 kB / 1.169 GB, free: 108 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.78e-05/0.7216, allocations: 19.98 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.7217, allocations: 11.98 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.7218, allocations: 40.75 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7219, allocations: 0 / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001864/0.722, allocations: 61.61 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.7221, allocations: 8.094 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.7221, allocations: 0 / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.7221, allocations: 4 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.605e-05/0.7222, allocations: 7.984 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.7222, allocations: 0 / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.7222, allocations: 7.984 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.7222, allocations: 0 / 1.17 GB, free: 15.94 MB / 0.9044 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.338e-05/0.7223, allocations: 109.8 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.7224, allocations: 8 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.825e-05/0.7224, allocations: 7.531 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.7224, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7224, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.7224, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.7225, allocations: 165.6 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7225, allocations: 0 / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.7226, allocations: 7.984 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.7226, allocations: 0 / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.7226, allocations: 0 / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.7226, allocations: 0 / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7226, allocations: 4 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.7229, allocations: 167.6 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.7229, allocations: 77.11 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.7229, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.723, allocations: 12.02 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.7231, allocations: 8 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.7231, allocations: 0 / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.612e-05/0.7231, allocations: 83.27 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7231, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002197/0.7233, allocations: 8 kB / 1.17 GB, free: 15.19 MB / 0.9044 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.0004723/0.7238, allocations: 0.6967 MB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.724, allocations: 39.84 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.724, allocations: 0 / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.039e-05/0.7241, allocations: 19.97 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.7244, allocations: 8.156 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.7248, allocations: 147.5 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.725, allocations: 0.6806 MB / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.605e-05/0.7251, allocations: 0 / 1.172 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.7251, allocations: 7.438 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.7251, allocations: 0 / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.7412, allocations: 1.518 MB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.137/7.878, allocations: 15.12 kB / 1.173 GB, free: 12.16 MB / 0.9044 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