Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",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.004344/0.004344, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001089/0.001089, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.21/1.21, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.2/2.2, allocations: 437 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 71.83 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.6609, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005648/0.6666, allocations: 4.953 MB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1389/0.8055, allocations: 150.6 MB / 1.318 GB, free: 7.586 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007534/0.8063, allocations: 19.88 kB / 1.318 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006825/0.807, allocations: 186.2 kB / 1.318 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.8089, allocations: 0.5584 MB / 1.319 GB, free: 6.824 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.8109, allocations: 0.8582 MB / 1.32 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.8124, allocations: 1.42 MB / 1.321 GB, free: 4.547 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008913/0.8133, allocations: 0.6028 MB / 1.322 GB, free: 3.918 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007007/0.814, allocations: 0.4982 MB / 1.322 GB, free: 3.418 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.8147, allocations: 0.5095 MB / 1.323 GB, free: 2.906 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002296/0.815, allocations: 120 kB / 1.323 GB, free: 2.789 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008771/0.8159, allocations: 487.6 kB / 1.323 GB, free: 2.312 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003009/0.8162, allocations: 295.1 kB / 1.323 GB, free: 2.023 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005862/0.8168, allocations: 0.5752 MB / 1.324 GB, free: 1.445 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00181/0.8186, allocations: 1.663 MB / 1.326 GB, free: 15.78 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.8186, allocations: 0 / 1.326 GB, free: 15.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8186, allocations: 3.938 kB / 1.326 GB, free: 15.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.251e-05/0.8186, allocations: 4 kB / 1.326 GB, free: 15.77 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002761/0.8214, allocations: 1.462 MB / 1.327 GB, free: 14.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.8215, allocations: 8.922 kB / 1.327 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001717/0.8216, allocations: 139.7 kB / 1.327 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.8229, allocations: 231.3 kB / 1.327 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.824, allocations: 0.7731 MB / 1.328 GB, free: 13.06 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.856e-05/0.8241, allocations: 69.94 kB / 1.328 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.8242, allocations: 87.98 kB / 1.328 GB, free: 12.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.8259, allocations: 0.9872 MB / 1.329 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.8259, allocations: 0 / 1.329 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.622e-05/0.826, allocations: 36 kB / 1.329 GB, free: 11.83 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.826, allocations: 24 kB / 1.329 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.8279, allocations: 1.163 MB / 1.33 GB, free: 10.65 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/0.832, allocations: 3.005 MB / 1.333 GB, free: 7.508 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.8338, allocations: 0.951 MB / 1.334 GB, free: 6.539 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005324/0.8343, allocations: 314.7 kB / 1.335 GB, free: 6.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.067e-05/0.8344, allocations: 32.61 kB / 1.335 GB, free: 6.199 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008108/0.8352, allocations: 0.5002 MB / 1.335 GB, free: 5.684 MB / 1.061 GB Notification: Performance of pre-optimization done (n=83): time 2.204e-06/0.8352, allocations: 4 kB / 1.335 GB, free: 5.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=83): time 0.003095/0.8383, allocations: 1.224 MB / 1.336 GB, free: 4.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/0.8384, allocations: 192.9 kB / 1.337 GB, free: 4.195 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007493/0.8392, allocations: 0.637 MB / 1.337 GB, free: 3.551 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.062e-05/0.8393, allocations: 41.7 kB / 1.337 GB, free: 3.504 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.8396, allocations: 408.3 kB / 1.338 GB, free: 3.098 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.8398, allocations: 268.1 kB / 1.338 GB, free: 2.832 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.84, allocations: 154.5 kB / 1.338 GB, free: 2.676 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.8401, allocations: 390.8 kB / 1.338 GB, free: 2.285 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.8406, allocations: 257.9 kB / 1.339 GB, free: 2.035 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.8412, allocations: 381.1 kB / 1.339 GB, free: 1.625 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.8423, allocations: 0.6228 MB / 1.34 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.8423, allocations: 0 / 1.34 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001857/0.8442, allocations: 0.8369 MB / 1.34 GB, free: 136 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.8442, allocations: 4 kB / 1.34 GB, free: 132 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.8442, allocations: 4 kB / 1.34 GB, free: 128 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/0.8448, allocations: 84.95 kB / 1.341 GB, free: 40 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/0.8455, allocations: 167.7 kB / 1.341 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.8474, allocations: 1.646 MB / 1.342 GB, free: 14.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/0.8481, allocations: 87.33 kB / 1.342 GB, free: 14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.8482, allocations: 31.97 kB / 1.342 GB, free: 13.96 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003807/0.8486, allocations: 272.8 kB / 1.343 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.8488, allocations: 82.97 kB / 1.343 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.8511, allocations: 1.085 MB / 1.344 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.8511, allocations: 11.94 kB / 1.344 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.8511, allocations: 0 / 1.344 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.8511, allocations: 11.92 kB / 1.344 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.8546, allocations: 2.103 MB / 1.346 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.8546, allocations: 4 kB / 1.346 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.8552, allocations: 147.8 kB / 1.346 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000438/0.8556, allocations: 68.78 kB / 1.346 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.566e-05/0.8557, allocations: 27.98 kB / 1.346 GB, free: 10.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.8575, allocations: 1.659 MB / 1.348 GB, free: 8.262 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.8576, allocations: 0 / 1.348 GB, free: 8.262 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.8597, allocations: 1.021 MB / 1.349 GB, free: 7.219 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004534/0.8602, allocations: 267.7 kB / 1.349 GB, free: 6.938 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.8603, allocations: 23.94 kB / 1.349 GB, free: 6.914 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007023/0.861, allocations: 67.92 kB / 1.349 GB, free: 6.848 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.8612, allocations: 72.83 kB / 1.349 GB, free: 6.777 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.8613, allocations: 35.98 kB / 1.349 GB, free: 6.742 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005819/0.8619, allocations: 463 kB / 1.35 GB, free: 6.293 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8619, allocations: 0 / 1.35 GB, free: 6.293 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000937/0.8628, allocations: 327.2 kB / 1.35 GB, free: 5.973 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003393/0.8662, allocations: 2.064 MB / 1.352 GB, free: 4.043 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001616/0.8678, allocations: 0.8272 MB / 1.353 GB, free: 3.207 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.8679, allocations: 0 / 1.353 GB, free: 3.207 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009055/0.8688, allocations: 0.524 MB / 1.353 GB, free: 2.672 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.87, allocations: 324.7 kB / 1.354 GB, free: 2.379 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00963/0.8797, allocations: 6.33 MB / 1.36 GB, free: 11.87 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005572/0.8803, allocations: 1.035 MB / 1.361 GB, free: 10.81 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000764/0.881, allocations: 270.9 kB / 1.361 GB, free: 10.54 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005156/0.8816, allocations: 395.3 kB / 1.361 GB, free: 10.15 MB / 1.092 GB Notification: Performance of SimCode: time 4.21e-07/0.8816, allocations: 0 / 1.361 GB, free: 10.15 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04738/0.929, allocations: 22.32 MB / 1.383 GB, free: 4.047 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.19, allocations: 7.938 kB / 1.383 GB, free: 4.039 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,TBlaSky.TBlaSky,TBlaSkyIrr.TBlaSky Variables in the result:time,TBlaSky.TBlaSky,TBlaSkyIrr.TBlaSky,weaBus.HDifHor,weaBus.HDirNor,weaBus.HGloHor