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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 113.3 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 225.6 MB / 249.3 MB, free: 3.348 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.354/2.354, allocations: 443.5 MB / 0.7304 GB, free: 13.98 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 67.89 kB / 1.059 GB, free: 1.031 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2512, allocations: 160.7 MB / 1.216 GB, free: 4 kB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00671/0.2579, allocations: 4.99 MB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.6483/0.9062, allocations: 151.2 MB / 1.368 GB, free: 2.305 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006793/0.9068, allocations: 19.59 kB / 1.368 GB, free: 2.297 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005771/0.9074, allocations: 192.8 kB / 1.368 GB, free: 2.172 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.909, allocations: 0.5602 MB / 1.369 GB, free: 1.848 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001835/0.9109, allocations: 0.8765 MB / 1.37 GB, free: 1.398 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001564/0.9124, allocations: 1.42 MB / 1.371 GB, free: 0.668 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006989/0.9131, allocations: 422.1 kB / 1.371 GB, free: 420 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007672/0.9139, allocations: 0.5004 MB / 1.372 GB, free: 164 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006557/0.9146, allocations: 0.5195 MB / 1.372 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.9147, allocations: 117.2 kB / 1.373 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008743/0.9156, allocations: 486.6 kB / 1.373 GB, free: 15.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.9159, allocations: 304.3 kB / 1.373 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000525/0.9164, allocations: 0.5699 MB / 1.374 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.9183, allocations: 1.671 MB / 1.375 GB, free: 14.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.9183, allocations: 1.156 kB / 1.375 GB, free: 14.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9183, allocations: 0 / 1.375 GB, free: 14.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.362e-05/0.9183, allocations: 0 / 1.375 GB, free: 14.49 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.002591/0.9209, allocations: 1.5 MB / 1.377 GB, free: 13.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.9209, allocations: 9.125 kB / 1.377 GB, free: 13.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/0.9211, allocations: 140.4 kB / 1.377 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.9222, allocations: 240.6 kB / 1.377 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.9234, allocations: 0.7842 MB / 1.378 GB, free: 12.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.9235, allocations: 70.75 kB / 1.378 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.9236, allocations: 85.91 kB / 1.378 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/0.9252, allocations: 0.9786 MB / 1.379 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.9253, allocations: 1.156 kB / 1.379 GB, free: 12.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.141e-05/0.9253, allocations: 41.59 kB / 1.379 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.9254, allocations: 21.94 kB / 1.379 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.9272, allocations: 1.164 MB / 1.38 GB, free: 11.94 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.004343/0.9316, allocations: 3.008 MB / 1.383 GB, free: 9.473 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.9334, allocations: 0.9005 MB / 1.384 GB, free: 8.961 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/0.9339, allocations: 283.8 kB / 1.384 GB, free: 8.816 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-05/0.934, allocations: 31.64 kB / 1.385 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008377/0.9348, allocations: 0.5007 MB / 1.385 GB, free: 8.477 MB / 1.061 GB Notification: Performance of pre-optimization done (n=83): time 2.475e-06/0.9348, allocations: 13.09 kB / 1.385 GB, free: 8.465 MB / 1.061 GB Notification: Performance of matching and sorting (n=83): time 0.003111/0.9379, allocations: 1.224 MB / 1.386 GB, free: 7.801 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.938, allocations: 198.6 kB / 1.386 GB, free: 7.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008335/0.9389, allocations: 0.6316 MB / 1.387 GB, free: 7.203 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.888e-05/0.9389, allocations: 42.58 kB / 1.387 GB, free: 7.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.9393, allocations: 422.2 kB / 1.387 GB, free: 6.789 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.9395, allocations: 279.9 kB / 1.388 GB, free: 6.547 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.9397, allocations: 150.7 kB / 1.388 GB, free: 6.457 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.9399, allocations: 389.9 kB / 1.388 GB, free: 6.086 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.9404, allocations: 257 kB / 1.388 GB, free: 5.961 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/0.941, allocations: 383.6 kB / 1.389 GB, free: 5.703 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.9422, allocations: 0.6279 MB / 1.389 GB, free: 5.348 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.9422, allocations: 1.344 kB / 1.389 GB, free: 5.348 MB / 1.061 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001908/0.9441, allocations: 0.8384 MB / 1.39 GB, free: 4.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.9441, allocations: 6.719 kB / 1.39 GB, free: 4.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.9441, allocations: 1.094 kB / 1.39 GB, free: 4.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005467/0.9446, allocations: 85.17 kB / 1.39 GB, free: 4.867 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.9452, allocations: 161 kB / 1.391 GB, free: 4.828 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.9473, allocations: 1.627 MB / 1.392 GB, free: 3.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007161/0.948, allocations: 99.8 kB / 1.392 GB, free: 3.164 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.948, allocations: 29.27 kB / 1.392 GB, free: 3.156 MB / 1.061 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.0004284/0.9485, allocations: 276.4 kB / 1.392 GB, free: 2.938 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.9486, allocations: 88.31 kB / 1.393 GB, free: 2.891 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/0.9509, allocations: 1.081 MB / 1.394 GB, free: 2.293 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.9509, allocations: 8.25 kB / 1.394 GB, free: 2.293 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.9509, allocations: 1.375 kB / 1.394 GB, free: 2.293 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.9509, allocations: 7.922 kB / 1.394 GB, free: 2.285 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/0.9543, allocations: 2.096 MB / 1.396 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.9543, allocations: 7.938 kB / 1.396 GB, free: 0.8633 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/0.9548, allocations: 147.5 kB / 1.396 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004008/0.9552, allocations: 69.09 kB / 1.396 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.9553, allocations: 30.28 kB / 1.396 GB, free: 0.7773 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.9571, allocations: 1.666 MB / 1.398 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9571, allocations: 6.594 kB / 1.398 GB, free: 15.15 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.959, allocations: 1.017 MB / 1.399 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.9594, allocations: 280.6 kB / 1.399 GB, free: 14.32 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.9595, allocations: 23.75 kB / 1.399 GB, free: 14.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/0.9601, allocations: 66.95 kB / 1.399 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.9602, allocations: 68.81 kB / 1.399 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.391e-05/0.9603, allocations: 43.12 kB / 1.399 GB, free: 14.22 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005278/0.9608, allocations: 462.5 kB / 1.399 GB, free: 13.96 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9608, allocations: 0 / 1.399 GB, free: 13.96 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008194/0.9616, allocations: 326 kB / 1.4 GB, free: 13.86 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.003779/0.9654, allocations: 2.074 MB / 1.402 GB, free: 12.55 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001524/0.9669, allocations: 0.7964 MB / 1.403 GB, free: 12.13 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.9669, allocations: 2.312 kB / 1.403 GB, free: 12.13 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.9678, allocations: 0.4891 MB / 1.403 GB, free: 11.85 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.969, allocations: 329.7 kB / 1.403 GB, free: 11.69 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009426/0.9785, allocations: 6.366 MB / 1.41 GB, free: 7.707 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/0.979, allocations: 1.034 MB / 1.411 GB, free: 6.855 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007725/0.9798, allocations: 269.9 kB / 1.411 GB, free: 6.719 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005384/0.9804, allocations: 395.1 kB / 1.411 GB, free: 6.406 MB / 1.076 GB Notification: Performance of SimCode: time 7.42e-07/0.9804, allocations: 0 / 1.411 GB, free: 6.406 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05941/1.04, allocations: 22.48 MB / 1.433 GB, free: 0.6836 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/13.24, allocations: 0 / 1.433 GB, free: 0.6836 MB / 1.092 GB " [Timeout remaining time 287] (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 400 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.65755762700428]