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.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.001598/0.001598, allocations: 114 kB / 17.6 MB, free: 4.699 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.001313/0.001313, allocations: 186.7 kB / 20.78 MB, free: 1.539 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.406/1.406, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.733/2.733, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 67.89 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8657/0.8679, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005885/0.8738, allocations: 5.003 MB / 1.276 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1819/1.056, allocations: 151.2 MB / 1.424 GB, free: 3.723 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/1.057, allocations: 23.62 kB / 1.424 GB, free: 3.711 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008358/1.058, allocations: 194.7 kB / 1.424 GB, free: 3.539 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002319/1.06, allocations: 0.5606 MB / 1.425 GB, free: 3.117 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002552/1.062, allocations: 0.8706 MB / 1.426 GB, free: 2.449 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002125/1.065, allocations: 1.429 MB / 1.427 GB, free: 1.559 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009515/1.066, allocations: 432.2 kB / 1.427 GB, free: 1.242 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009172/1.066, allocations: 0.4974 MB / 1.428 GB, free: 0.9414 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000938/1.067, allocations: 0.5174 MB / 1.428 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002144/1.068, allocations: 117 kB / 1.429 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/1.069, allocations: 493.4 kB / 1.429 GB, free: 396 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002995/1.069, allocations: 303.8 kB / 1.429 GB, free: 152 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007753/1.07, allocations: 0.565 MB / 1.43 GB, free: 15.73 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002353/1.072, allocations: 1.664 MB / 1.431 GB, free: 14.54 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.072, allocations: 1.062 kB / 1.431 GB, free: 14.54 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.863e-06/1.072, allocations: 0 / 1.431 GB, free: 14.54 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.308e-05/1.072, allocations: 0 / 1.431 GB, free: 14.54 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.002938/1.075, allocations: 1.505 MB / 1.433 GB, free: 13.35 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.075, allocations: 10.22 kB / 1.433 GB, free: 13.35 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/1.075, allocations: 137.1 kB / 1.433 GB, free: 13.23 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/1.077, allocations: 239.5 kB / 1.433 GB, free: 13.12 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/1.078, allocations: 0.781 MB / 1.434 GB, free: 12.47 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.686e-05/1.078, allocations: 65.78 kB / 1.434 GB, free: 12.45 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/1.078, allocations: 88.41 kB / 1.434 GB, free: 12.41 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/1.08, allocations: 0.9772 MB / 1.435 GB, free: 11.77 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/1.08, allocations: 1.375 kB / 1.435 GB, free: 11.77 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.891e-05/1.08, allocations: 40.23 kB / 1.435 GB, free: 11.74 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/1.08, allocations: 30 kB / 1.435 GB, free: 11.73 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/1.082, allocations: 1.159 MB / 1.436 GB, free: 11.19 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.004816/1.087, allocations: 3.014 MB / 1.439 GB, free: 8.578 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/1.089, allocations: 0.9111 MB / 1.44 GB, free: 7.645 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/1.09, allocations: 290.7 kB / 1.44 GB, free: 7.355 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-05/1.09, allocations: 32.61 kB / 1.44 GB, free: 7.324 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009408/1.091, allocations: 0.4966 MB / 1.441 GB, free: 6.812 MB / 1.123 GB Notification: Performance of pre-optimization done (n=83): time 2.665e-06/1.091, allocations: 0 / 1.441 GB, free: 6.812 MB / 1.123 GB Notification: Performance of matching and sorting (n=83): time 0.003474/1.094, allocations: 1.24 MB / 1.442 GB, free: 5.551 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/1.094, allocations: 192.9 kB / 1.442 GB, free: 5.316 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009616/1.095, allocations: 0.6294 MB / 1.443 GB, free: 4.68 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.771e-05/1.095, allocations: 41.7 kB / 1.443 GB, free: 4.633 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/1.096, allocations: 428.9 kB / 1.443 GB, free: 4.207 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/1.096, allocations: 273.7 kB / 1.444 GB, free: 3.938 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002559/1.096, allocations: 158.5 kB / 1.444 GB, free: 3.777 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002009/1.096, allocations: 390.7 kB / 1.444 GB, free: 3.387 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005554/1.097, allocations: 249.9 kB / 1.444 GB, free: 3.145 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000687/1.098, allocations: 389.1 kB / 1.445 GB, free: 2.723 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/1.099, allocations: 0.6228 MB / 1.445 GB, free: 2.082 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.099, allocations: 0 / 1.445 GB, free: 2.082 MB / 1.123 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002104/1.101, allocations: 0.8451 MB / 1.446 GB, free: 1.227 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.101, allocations: 5.906 kB / 1.446 GB, free: 1.223 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.986e-06/1.101, allocations: 7.938 kB / 1.446 GB, free: 1.215 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006001/1.102, allocations: 84.77 kB / 1.446 GB, free: 1.129 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/1.102, allocations: 163.7 kB / 1.447 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/1.105, allocations: 1.634 MB / 1.448 GB, free: 15.19 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007934/1.105, allocations: 94.45 kB / 1.448 GB, free: 15.1 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/1.106, allocations: 35.98 kB / 1.448 GB, free: 15.06 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.0004924/1.106, allocations: 265.6 kB / 1.448 GB, free: 14.79 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002415/1.106, allocations: 83.48 kB / 1.449 GB, free: 14.71 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/1.109, allocations: 1.097 MB / 1.45 GB, free: 13.6 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.109, allocations: 12 kB / 1.45 GB, free: 13.59 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/1.109, allocations: 0 / 1.45 GB, free: 13.59 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/1.109, allocations: 3.984 kB / 1.45 GB, free: 13.58 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003993/1.113, allocations: 2.099 MB / 1.452 GB, free: 11.41 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/1.113, allocations: 3.938 kB / 1.452 GB, free: 11.41 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006182/1.114, allocations: 151.8 kB / 1.452 GB, free: 11.26 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004452/1.114, allocations: 72.78 kB / 1.452 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.924e-05/1.114, allocations: 23.98 kB / 1.452 GB, free: 11.16 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/1.116, allocations: 1.658 MB / 1.454 GB, free: 9.359 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.116, allocations: 4 kB / 1.454 GB, free: 9.355 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/1.118, allocations: 1.018 MB / 1.455 GB, free: 8.32 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004996/1.119, allocations: 276.2 kB / 1.455 GB, free: 8.031 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/1.119, allocations: 24 kB / 1.455 GB, free: 8.008 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007283/1.12, allocations: 67.92 kB / 1.455 GB, free: 7.941 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/1.12, allocations: 72.84 kB / 1.455 GB, free: 7.871 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/1.12, allocations: 35.97 kB / 1.455 GB, free: 7.836 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006983/1.121, allocations: 463 kB / 1.455 GB, free: 7.387 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.121, allocations: 0 / 1.455 GB, free: 7.387 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001031/1.122, allocations: 331.1 kB / 1.456 GB, free: 7.062 MB / 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.004345/1.126, allocations: 2.072 MB / 1.458 GB, free: 5.148 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001814/1.128, allocations: 0.7964 MB / 1.459 GB, free: 4.344 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.128, allocations: 0 / 1.459 GB, free: 4.344 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009831/1.129, allocations: 0.4963 MB / 1.459 GB, free: 3.832 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/1.13, allocations: 332.1 kB / 1.459 GB, free: 3.535 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/1.142, allocations: 6.366 MB / 1.466 GB, free: 13 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007705/1.143, allocations: 1.027 MB / 1.467 GB, free: 11.94 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009096/1.143, allocations: 266.9 kB / 1.467 GB, free: 11.68 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000621/1.144, allocations: 395.3 kB / 1.467 GB, free: 11.29 MB / 1.154 GB Notification: Performance of SimCode: time 7.92e-07/1.144, allocations: 0 / 1.467 GB, free: 11.29 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7505/1.895, allocations: 22.48 MB / 1.489 GB, free: 5.031 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/15.88, allocations: 4.828 kB / 1.489 GB, free: 5.031 MB / 1.17 GB " [Timeout remaining time 284] (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 --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_2/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: 22.0982625070028]