Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 216.5 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.366/1.366, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.603/2.603, allocations: 476.8 MB / 0.7715 GB, free: 3.898 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.22 kB / 1.118 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2966, allocations: 169.9 MB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.0065/0.3031, allocations: 4.483 MB / 1.288 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1578/0.461, allocations: 132.6 MB / 1.418 GB, free: 1.145 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008069/0.4618, allocations: 23.81 kB / 1.418 GB, free: 1.121 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005832/0.4623, allocations: 206.1 kB / 1.418 GB, free: 0.918 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.4641, allocations: 0.5754 MB / 1.419 GB, free: 352 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.466, allocations: 0.8805 MB / 1.42 GB, free: 15.47 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.4676, allocations: 1.455 MB / 1.421 GB, free: 14.01 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007377/0.4684, allocations: 430.1 kB / 1.421 GB, free: 13.56 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007581/0.4691, allocations: 0.5217 MB / 1.422 GB, free: 13.04 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006561/0.4698, allocations: 0.5251 MB / 1.422 GB, free: 12.51 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.4699, allocations: 116 kB / 1.423 GB, free: 12.4 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009499/0.4709, allocations: 0.4996 MB / 1.423 GB, free: 11.9 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.4712, allocations: 311 kB / 1.423 GB, free: 11.59 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005057/0.4717, allocations: 477.7 kB / 1.424 GB, free: 11.12 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.4737, allocations: 1.724 MB / 1.425 GB, free: 9.395 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4737, allocations: 0 / 1.425 GB, free: 9.395 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4737, allocations: 0 / 1.425 GB, free: 9.395 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.986e-05/0.4738, allocations: 4 kB / 1.425 GB, free: 9.391 MB / 1.123 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.002684/0.4765, allocations: 1.455 MB / 1.427 GB, free: 7.902 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.4765, allocations: 12.03 kB / 1.427 GB, free: 7.891 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.491e-05/0.4765, allocations: 22.19 kB / 1.427 GB, free: 7.867 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.4767, allocations: 135.7 kB / 1.427 GB, free: 7.727 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.4785, allocations: 287.9 kB / 1.427 GB, free: 7.445 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.4798, allocations: 0.7256 MB / 1.428 GB, free: 6.691 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.706e-05/0.4799, allocations: 69.94 kB / 1.428 GB, free: 6.625 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.48, allocations: 80 kB / 1.428 GB, free: 6.547 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.4819, allocations: 1.238 MB / 1.429 GB, free: 5.195 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.4819, allocations: 0 / 1.429 GB, free: 5.195 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.035e-05/0.482, allocations: 36 kB / 1.429 GB, free: 5.16 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/0.4821, allocations: 28 kB / 1.429 GB, free: 5.133 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.484, allocations: 1.163 MB / 1.431 GB, free: 3.969 MB / 1.123 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.004268/0.4883, allocations: 2.537 MB / 1.433 GB, free: 1.352 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.4901, allocations: 0.8274 MB / 1.434 GB, free: 0.5156 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/0.4906, allocations: 291.3 kB / 1.434 GB, free: 228 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 7.531e-05/0.4907, allocations: 24.64 kB / 1.434 GB, free: 204 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009738/0.4916, allocations: 0.5891 MB / 1.435 GB, free: 15.56 MB / 1.139 GB Notification: Performance of pre-optimization done (n=83): time 2.604e-06/0.4916, allocations: 0 / 1.435 GB, free: 15.56 MB / 1.139 GB Notification: Performance of matching and sorting (n=83): time 0.003291/0.4949, allocations: 1.166 MB / 1.436 GB, free: 14.39 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.4951, allocations: 192.9 kB / 1.436 GB, free: 14.16 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009048/0.496, allocations: 0.6606 MB / 1.437 GB, free: 13.5 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.562e-05/0.496, allocations: 45.7 kB / 1.437 GB, free: 13.45 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/0.4964, allocations: 425 kB / 1.437 GB, free: 13.02 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.4967, allocations: 285.5 kB / 1.437 GB, free: 12.75 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.4969, allocations: 154.6 kB / 1.438 GB, free: 12.59 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.4971, allocations: 386.8 kB / 1.438 GB, free: 12.2 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005102/0.4976, allocations: 253.9 kB / 1.438 GB, free: 11.95 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00071/0.4983, allocations: 0.5015 MB / 1.439 GB, free: 11.39 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.4995, allocations: 0.6228 MB / 1.439 GB, free: 10.74 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.4995, allocations: 4 kB / 1.439 GB, free: 10.74 MB / 1.139 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002075/0.5016, allocations: 0.8412 MB / 1.44 GB, free: 9.887 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.5016, allocations: 8 kB / 1.44 GB, free: 9.879 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.5016, allocations: 192 / 1.44 GB, free: 9.879 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006377/0.5022, allocations: 88.75 kB / 1.44 GB, free: 9.789 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.5029, allocations: 163.7 kB / 1.44 GB, free: 9.629 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.505, allocations: 1.518 MB / 1.442 GB, free: 7.992 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008274/0.5059, allocations: 95.48 kB / 1.442 GB, free: 7.898 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/0.5059, allocations: 39.92 kB / 1.442 GB, free: 7.859 MB / 1.139 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.0004615/0.5064, allocations: 265.8 kB / 1.442 GB, free: 7.59 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.5066, allocations: 99.48 kB / 1.442 GB, free: 7.492 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002431/0.509, allocations: 1.085 MB / 1.443 GB, free: 6.391 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.509, allocations: 12 kB / 1.443 GB, free: 6.379 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.509, allocations: 0 / 1.443 GB, free: 6.379 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.509, allocations: 3.984 kB / 1.443 GB, free: 6.375 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/0.5126, allocations: 1.916 MB / 1.445 GB, free: 4.41 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5126, allocations: 0 / 1.445 GB, free: 4.41 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/0.5132, allocations: 147.8 kB / 1.445 GB, free: 4.266 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004368/0.5137, allocations: 76.72 kB / 1.445 GB, free: 4.188 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.849e-05/0.5137, allocations: 23.98 kB / 1.446 GB, free: 4.164 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.5156, allocations: 1.551 MB / 1.447 GB, free: 2.488 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.5156, allocations: 0 / 1.447 GB, free: 2.488 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.5177, allocations: 1.022 MB / 1.448 GB, free: 1.445 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.5181, allocations: 207 kB / 1.448 GB, free: 1.242 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.5183, allocations: 24 kB / 1.448 GB, free: 1.219 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006652/0.5189, allocations: 60 kB / 1.448 GB, free: 1.16 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.5191, allocations: 84.78 kB / 1.448 GB, free: 1.078 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.447e-05/0.5192, allocations: 35.98 kB / 1.448 GB, free: 1.043 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006056/0.5198, allocations: 483 kB / 1.449 GB, free: 0.5742 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5198, allocations: 0 / 1.449 GB, free: 0.5742 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008598/0.5206, allocations: 331.1 kB / 1.449 GB, free: 256 kB / 1.139 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.004231/0.5249, allocations: 2.108 MB / 1.451 GB, free: 14.33 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.5266, allocations: 0.8003 MB / 1.452 GB, free: 13.52 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5266, allocations: 0 / 1.452 GB, free: 13.52 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009246/0.5275, allocations: 0.4924 MB / 1.453 GB, free: 13.01 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.5288, allocations: 324.7 kB / 1.453 GB, free: 12.73 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.5394, allocations: 6.44 MB / 1.459 GB, free: 6.113 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.5399, allocations: 449 kB / 1.46 GB, free: 5.645 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008847/0.5407, allocations: 275 kB / 1.46 GB, free: 5.371 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006094/0.5413, allocations: 403.2 kB / 1.46 GB, free: 4.977 MB / 1.154 GB Notification: Performance of SimCode: time 7.31e-07/0.5413, allocations: 4 kB / 1.46 GB, free: 4.973 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05644/0.5978, allocations: 24.16 MB / 1.484 GB, free: 13.21 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.67, allocations: 6.297 kB / 1.484 GB, free: 13.21 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 21.121267142007127]