Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001798/0.001798, allocations: 115.4 kB / 17.16 MB, free: 5.895 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.002107/0.002107, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.471/1.471, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.938/2.938, allocations: 0.49 GB / 0.7923 GB, free: 1.375 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_12_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.00198/0.00198, allocations: 68.19 kB / 1.149 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8889/0.8908, allocations: 176.1 MB / 1.321 GB, free: 7.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007404/0.8983, allocations: 4.997 MB / 1.326 GB, free: 3.84 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2238/1.122, allocations: 154 MB / 1.477 GB, free: 6.68 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/1.124, allocations: 23.81 kB / 1.477 GB, free: 6.656 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/1.125, allocations: 206.1 kB / 1.477 GB, free: 6.453 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003663/1.128, allocations: 0.5669 MB / 1.478 GB, free: 5.887 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003674/1.132, allocations: 0.8696 MB / 1.478 GB, free: 5.023 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002587/1.135, allocations: 1.459 MB / 1.48 GB, free: 3.559 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008263/1.136, allocations: 441.4 kB / 1.48 GB, free: 3.098 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000787/1.136, allocations: 0.5256 MB / 1.481 GB, free: 2.57 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006412/1.137, allocations: 0.529 MB / 1.481 GB, free: 2.039 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/1.137, allocations: 120 kB / 1.481 GB, free: 1.922 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/1.138, allocations: 0.5113 MB / 1.482 GB, free: 1.41 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002881/1.138, allocations: 303 kB / 1.482 GB, free: 1.113 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000551/1.139, allocations: 0.5791 MB / 1.483 GB, free: 0.5312 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002197/1.141, allocations: 1.712 MB / 1.484 GB, free: 14.81 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.141, allocations: 4 kB / 1.484 GB, free: 14.8 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.843e-06/1.141, allocations: 0 / 1.484 GB, free: 14.8 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.729e-05/1.141, allocations: 0 / 1.484 GB, free: 14.8 MB / 1.17 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.002731/1.144, allocations: 1.53 MB / 1.486 GB, free: 13.23 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/1.144, allocations: 11.98 kB / 1.486 GB, free: 13.21 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.855e-05/1.144, allocations: 22.19 kB / 1.486 GB, free: 13.19 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/1.144, allocations: 139.7 kB / 1.486 GB, free: 13.05 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/1.146, allocations: 287.9 kB / 1.486 GB, free: 12.77 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/1.147, allocations: 0.7978 MB / 1.487 GB, free: 11.93 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.945e-05/1.147, allocations: 58 kB / 1.487 GB, free: 11.87 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/1.148, allocations: 91.94 kB / 1.487 GB, free: 11.78 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/1.149, allocations: 0.9833 MB / 1.488 GB, free: 10.75 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/1.149, allocations: 0 / 1.488 GB, free: 10.75 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/1.149, allocations: 36 kB / 1.488 GB, free: 10.71 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/1.149, allocations: 28 kB / 1.488 GB, free: 10.68 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/1.152, allocations: 1.163 MB / 1.489 GB, free: 9.523 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004705/1.156, allocations: 3.068 MB / 1.492 GB, free: 6.309 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/1.158, allocations: 0.9169 MB / 1.493 GB, free: 5.363 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005723/1.159, allocations: 278.7 kB / 1.494 GB, free: 5.086 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.939e-05/1.159, allocations: 32.59 kB / 1.494 GB, free: 5.055 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009185/1.16, allocations: 0.5018 MB / 1.494 GB, free: 4.539 MB / 1.17 GB Notification: Performance of pre-optimization done (n=83): time 2.374e-06/1.16, allocations: 0 / 1.494 GB, free: 4.539 MB / 1.17 GB Notification: Performance of matching and sorting (n=83): time 0.003512/1.163, allocations: 1.232 MB / 1.495 GB, free: 3.277 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/1.163, allocations: 196.9 kB / 1.495 GB, free: 3.043 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009075/1.164, allocations: 0.6528 MB / 1.496 GB, free: 2.383 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.287e-05/1.164, allocations: 45.7 kB / 1.496 GB, free: 2.332 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/1.165, allocations: 421 kB / 1.497 GB, free: 1.914 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/1.165, allocations: 289.5 kB / 1.497 GB, free: 1.629 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/1.165, allocations: 154.6 kB / 1.497 GB, free: 1.473 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002051/1.166, allocations: 390.8 kB / 1.497 GB, free: 1.082 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005354/1.166, allocations: 249.9 kB / 1.498 GB, free: 0.8359 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/1.167, allocations: 389.1 kB / 1.498 GB, free: 432 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/1.168, allocations: 0.6189 MB / 1.499 GB, free: 15.78 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.168, allocations: 0 / 1.499 GB, free: 15.78 MB / 1.186 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002078/1.17, allocations: 0.8452 MB / 1.499 GB, free: 14.93 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.17, allocations: 9.703 kB / 1.499 GB, free: 14.92 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/1.17, allocations: 4.188 kB / 1.499 GB, free: 14.92 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000626/1.171, allocations: 76.78 kB / 1.499 GB, free: 14.84 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/1.171, allocations: 167.8 kB / 1.5 GB, free: 14.68 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/1.174, allocations: 1.63 MB / 1.501 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007755/1.174, allocations: 99.5 kB / 1.501 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.888e-05/1.175, allocations: 27.98 kB / 1.501 GB, free: 12.77 MB / 1.186 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.0004676/1.175, allocations: 269.6 kB / 1.502 GB, free: 12.5 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/1.175, allocations: 95.38 kB / 1.502 GB, free: 12.4 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/1.178, allocations: 1.093 MB / 1.503 GB, free: 11.29 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.178, allocations: 8 kB / 1.503 GB, free: 11.29 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.178, allocations: 7.984 kB / 1.503 GB, free: 11.28 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/1.178, allocations: 7.984 kB / 1.503 GB, free: 11.27 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/1.182, allocations: 2.111 MB / 1.505 GB, free: 9.086 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.182, allocations: 0 / 1.505 GB, free: 9.086 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006302/1.182, allocations: 155.7 kB / 1.505 GB, free: 8.934 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/1.183, allocations: 76.77 kB / 1.505 GB, free: 8.855 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.245e-05/1.183, allocations: 23.98 kB / 1.505 GB, free: 8.832 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002093/1.185, allocations: 1.65 MB / 1.507 GB, free: 7.039 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.185, allocations: 0 / 1.507 GB, free: 7.039 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/1.187, allocations: 1.026 MB / 1.508 GB, free: 5.992 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/1.188, allocations: 284.1 kB / 1.508 GB, free: 5.695 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/1.188, allocations: 23.95 kB / 1.508 GB, free: 5.672 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/1.188, allocations: 66.73 kB / 1.508 GB, free: 5.609 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/1.189, allocations: 80.89 kB / 1.508 GB, free: 5.531 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.734e-05/1.189, allocations: 43.97 kB / 1.508 GB, free: 5.488 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006673/1.189, allocations: 475 kB / 1.509 GB, free: 5.027 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.189, allocations: 0 / 1.509 GB, free: 5.027 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009374/1.19, allocations: 327.2 kB / 1.509 GB, free: 4.707 MB / 1.186 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.004366/1.195, allocations: 2.074 MB / 1.511 GB, free: 2.785 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001817/1.197, allocations: 0.7882 MB / 1.512 GB, free: 1.98 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.197, allocations: 4.375 kB / 1.512 GB, free: 1.977 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000979/1.197, allocations: 0.4924 MB / 1.512 GB, free: 1.473 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/1.199, allocations: 324.8 kB / 1.513 GB, free: 1.18 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.21, allocations: 6.447 MB / 1.519 GB, free: 10.56 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007549/1.211, allocations: 1.035 MB / 1.52 GB, free: 9.5 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009087/1.212, allocations: 271 kB / 1.52 GB, free: 9.23 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006256/1.212, allocations: 403.2 kB / 1.52 GB, free: 8.836 MB / 1.201 GB Notification: Performance of SimCode: time 9.02e-07/1.212, allocations: 0 / 1.52 GB, free: 8.836 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05814/1.271, allocations: 22.73 MB / 1.543 GB, free: 2.379 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/15.06, allocations: 18.25 kB / 1.543 GB, free: 2.363 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.661154745030217]