Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00169/0.00169, allocations: 104.5 kB / 16.45 MB, free: 6.445 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.001979/0.001979, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.419/1.419, allocations: 225.6 MB / 247.8 MB, free: 3.719 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 497.2 MB / 0.7811 GB, free: 11.94 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.89 kB / 1.134 GB, free: 13.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8974/0.8993, allocations: 173.9 MB / 1.304 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004839/0.9041, allocations: 4.962 MB / 1.309 GB, free: 28.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1767/1.081, allocations: 151.1 MB / 1.456 GB, free: 14.79 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007685/1.082, allocations: 15.53 kB / 1.456 GB, free: 14.79 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006828/1.082, allocations: 193 kB / 1.457 GB, free: 14.66 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/1.084, allocations: 0.5619 MB / 1.457 GB, free: 14.32 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00213/1.086, allocations: 0.8539 MB / 1.458 GB, free: 13.86 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001916/1.088, allocations: 1.427 MB / 1.459 GB, free: 13.12 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008028/1.089, allocations: 443.7 kB / 1.46 GB, free: 12.85 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008562/1.09, allocations: 0.4972 MB / 1.46 GB, free: 12.6 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007296/1.091, allocations: 0.5193 MB / 1.461 GB, free: 12.33 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001674/1.091, allocations: 118 kB / 1.461 GB, free: 12.33 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/1.092, allocations: 491.3 kB / 1.461 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003231/1.092, allocations: 303.1 kB / 1.462 GB, free: 12.02 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005896/1.093, allocations: 0.5669 MB / 1.462 GB, free: 11.64 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002326/1.095, allocations: 1.666 MB / 1.464 GB, free: 10.93 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/1.095, allocations: 0.6094 kB / 1.464 GB, free: 10.93 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.694e-06/1.095, allocations: 0 / 1.464 GB, free: 10.93 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.716e-05/1.095, allocations: 0 / 1.464 GB, free: 10.93 MB / 1.154 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.003068/1.098, allocations: 1.51 MB / 1.465 GB, free: 9.898 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/1.098, allocations: 9.938 kB / 1.465 GB, free: 9.898 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001894/1.098, allocations: 139.8 kB / 1.465 GB, free: 9.805 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/1.1, allocations: 232.4 kB / 1.466 GB, free: 9.738 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/1.101, allocations: 0.7771 MB / 1.466 GB, free: 9.234 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.308e-05/1.101, allocations: 67.44 kB / 1.466 GB, free: 9.207 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/1.101, allocations: 84.41 kB / 1.466 GB, free: 9.18 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/1.103, allocations: 0.9914 MB / 1.467 GB, free: 8.707 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/1.103, allocations: 5.375 kB / 1.467 GB, free: 8.703 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/1.103, allocations: 36.28 kB / 1.468 GB, free: 8.676 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/1.103, allocations: 22.44 kB / 1.468 GB, free: 8.676 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/1.105, allocations: 1.163 MB / 1.469 GB, free: 8.121 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004659/1.11, allocations: 3.074 MB / 1.472 GB, free: 5.574 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/1.112, allocations: 0.8989 MB / 1.473 GB, free: 5.062 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005368/1.112, allocations: 284.8 kB / 1.473 GB, free: 4.914 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.776e-05/1.112, allocations: 34.12 kB / 1.473 GB, free: 4.895 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009004/1.113, allocations: 0.4981 MB / 1.473 GB, free: 4.57 MB / 1.154 GB Notification: Performance of pre-optimization done (n=83): time 2.554e-06/1.113, allocations: 3.938 kB / 1.473 GB, free: 4.566 MB / 1.154 GB Notification: Performance of matching and sorting (n=83): time 0.003339/1.117, allocations: 1.234 MB / 1.475 GB, free: 3.898 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/1.117, allocations: 194.2 kB / 1.475 GB, free: 3.676 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000971/1.118, allocations: 0.6323 MB / 1.475 GB, free: 3.312 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.722e-05/1.118, allocations: 41.83 kB / 1.475 GB, free: 3.27 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/1.118, allocations: 423.4 kB / 1.476 GB, free: 2.898 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/1.118, allocations: 278.7 kB / 1.476 GB, free: 2.656 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/1.119, allocations: 155.3 kB / 1.476 GB, free: 2.559 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002157/1.119, allocations: 385 kB / 1.477 GB, free: 2.191 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005387/1.119, allocations: 260.8 kB / 1.477 GB, free: 2.062 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/1.12, allocations: 383.5 kB / 1.477 GB, free: 1.809 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/1.121, allocations: 0.6213 MB / 1.478 GB, free: 1.453 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/1.121, allocations: 5.219 kB / 1.478 GB, free: 1.449 MB / 1.154 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002033/1.123, allocations: 0.8434 MB / 1.479 GB, free: 1.012 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.123, allocations: 6.969 kB / 1.479 GB, free: 1.012 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/1.123, allocations: 7.125 kB / 1.479 GB, free: 1.008 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005963/1.124, allocations: 81.19 kB / 1.479 GB, free: 0.9688 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006473/1.125, allocations: 162.8 kB / 1.479 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/1.127, allocations: 1.642 MB / 1.48 GB, free: 15.31 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008214/1.128, allocations: 98.27 kB / 1.481 GB, free: 15.25 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.594e-05/1.128, allocations: 34.67 kB / 1.481 GB, free: 15.23 MB / 1.17 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.0005421/1.128, allocations: 266.5 kB / 1.481 GB, free: 15.02 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/1.128, allocations: 88.28 kB / 1.481 GB, free: 14.98 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/1.131, allocations: 1.082 MB / 1.482 GB, free: 14.37 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/1.131, allocations: 8.906 kB / 1.482 GB, free: 14.37 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.131, allocations: 0.75 kB / 1.482 GB, free: 14.37 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/1.131, allocations: 12 kB / 1.482 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00385/1.135, allocations: 2.092 MB / 1.484 GB, free: 12.95 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.135, allocations: 3.938 kB / 1.484 GB, free: 12.95 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006147/1.135, allocations: 158.8 kB / 1.484 GB, free: 12.9 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004391/1.136, allocations: 66.23 kB / 1.484 GB, free: 12.87 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.259e-05/1.136, allocations: 28.22 kB / 1.484 GB, free: 12.85 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/1.138, allocations: 1.658 MB / 1.486 GB, free: 11.23 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.138, allocations: 1.375 kB / 1.486 GB, free: 11.23 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/1.14, allocations: 1.021 MB / 1.487 GB, free: 10.65 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005486/1.141, allocations: 280.7 kB / 1.487 GB, free: 10.41 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/1.141, allocations: 22.09 kB / 1.487 GB, free: 10.39 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006565/1.142, allocations: 58.53 kB / 1.487 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/1.142, allocations: 79.98 kB / 1.487 GB, free: 10.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.422e-05/1.142, allocations: 35.11 kB / 1.487 GB, free: 10.31 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006296/1.142, allocations: 458.6 kB / 1.488 GB, free: 10.05 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.142, allocations: 4 kB / 1.488 GB, free: 10.04 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001023/1.143, allocations: 335.7 kB / 1.488 GB, free: 9.941 MB / 1.17 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.004271/1.148, allocations: 2.063 MB / 1.49 GB, free: 8.156 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001831/1.15, allocations: 0.7923 MB / 1.491 GB, free: 7.352 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.15, allocations: 0 / 1.491 GB, free: 7.352 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009891/1.151, allocations: 0.5043 MB / 1.491 GB, free: 6.836 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/1.152, allocations: 312.7 kB / 1.492 GB, free: 6.551 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/1.163, allocations: 6.375 MB / 1.498 GB, free: 0 / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007404/1.164, allocations: 1.029 MB / 1.499 GB, free: 14.94 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009337/1.165, allocations: 259 kB / 1.499 GB, free: 14.68 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005828/1.165, allocations: 399.3 kB / 1.5 GB, free: 14.29 MB / 1.186 GB Notification: Performance of SimCode: time 1.092e-06/1.165, allocations: 0 / 1.5 GB, free: 14.29 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06154/1.227, allocations: 22.44 MB / 1.521 GB, free: 8.164 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.86, allocations: 4 kB / 1.521 GB, free: 8.16 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.12971282703802]