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.001847/0.001847, allocations: 87.69 kB / 20.24 MB, free: 4.18 MB / 18.57 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.002388/0.002388, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.592/1.592, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.079/3.079, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8108 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.66e-05, allocations: 5.609 kB / 0.8108 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007997/0.008023, allocations: 4.744 MB / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.2093/0.2174, allocations: 146.3 MB / 0.9583 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.2184, allocations: 23.81 kB / 0.9583 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0007154/0.2191, allocations: 206 kB / 0.9585 GB, free: 10.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.2211, allocations: 0.5746 MB / 0.9591 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.2234, allocations: 0.8959 MB / 0.9599 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002013/0.2254, allocations: 1.517 MB / 0.9614 GB, free: 7.242 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008085/0.2262, allocations: 417.9 kB / 0.9618 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.2274, allocations: 0.7718 MB / 0.9626 GB, free: 6.043 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006887/0.2281, allocations: 426.8 kB / 0.963 GB, free: 5.625 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0002309/0.2283, allocations: 124 kB / 0.9631 GB, free: 5.504 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.2295, allocations: 0.4954 MB / 0.9636 GB, free: 5.008 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003721/0.2299, allocations: 318.9 kB / 0.9639 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0007659/0.2307, allocations: 407 kB / 0.9643 GB, free: 4.297 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.2332, allocations: 1.838 MB / 0.9661 GB, free: 2.449 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2332, allocations: 0 / 0.9661 GB, free: 2.449 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2332, allocations: 4 kB / 0.9661 GB, free: 2.445 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.991e-05/0.2332, allocations: 0 / 0.9661 GB, free: 2.445 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003075/0.2363, allocations: 1.652 MB / 0.9677 GB, free: 0.75 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.2364, allocations: 12.03 kB / 0.9677 GB, free: 0.7383 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.2382, allocations: 367.5 kB / 0.968 GB, free: 388 kB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.2396, allocations: 0.7482 MB / 0.9688 GB, free: 15.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.978e-05/0.2397, allocations: 74.12 kB / 0.9688 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.2399, allocations: 99.98 kB / 0.9689 GB, free: 15.43 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.242, allocations: 1.289 MB / 0.9702 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.2421, allocations: 0 / 0.9702 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.2422, allocations: 47.98 kB / 0.9702 GB, free: 13.97 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.2422, allocations: 20 kB / 0.9703 GB, free: 13.95 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.2445, allocations: 1.069 MB / 0.9713 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00573/0.2502, allocations: 3.477 MB / 0.9747 GB, free: 9.289 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.252, allocations: 0.7895 MB / 0.9755 GB, free: 8.496 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000567/0.2526, allocations: 278.6 kB / 0.9757 GB, free: 8.223 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.155e-05/0.2526, allocations: 40.86 kB / 0.9758 GB, free: 8.184 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.2537, allocations: 0.6278 MB / 0.9764 GB, free: 7.508 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=91): time 2.685e-06/0.2537, allocations: 0 / 0.9764 GB, free: 7.508 MB / 0.9323 GB Notification: Performance of matching and sorting (n=91): time 0.003402/0.2571, allocations: 1.117 MB / 0.9775 GB, free: 6.383 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.2573, allocations: 200.9 kB / 0.9777 GB, free: 6.141 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.2586, allocations: 0.7729 MB / 0.9784 GB, free: 5.352 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.773e-05/0.2587, allocations: 53.69 kB / 0.9785 GB, free: 5.293 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004804/0.2591, allocations: 0.496 MB / 0.979 GB, free: 4.789 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/0.2595, allocations: 325.5 kB / 0.9793 GB, free: 4.469 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/0.2598, allocations: 228.2 kB / 0.9795 GB, free: 4.238 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004261/0.2603, allocations: 0.625 MB / 0.9801 GB, free: 3.602 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005535/0.2608, allocations: 245.9 kB / 0.9803 GB, free: 3.363 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000864/0.2617, allocations: 0.5438 MB / 0.9809 GB, free: 2.754 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.263, allocations: 0.6426 MB / 0.9815 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.263, allocations: 0 / 0.9815 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002273/0.2652, allocations: 0.9105 MB / 0.9824 GB, free: 1.16 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.2653, allocations: 4 kB / 0.9824 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.2653, allocations: 4 kB / 0.9824 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.2663, allocations: 143.7 kB / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008088/0.2671, allocations: 191.7 kB / 0.9827 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/0.2698, allocations: 2.029 MB / 0.9847 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006531/0.2705, allocations: 87.48 kB / 0.9848 GB, free: 14.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-05/0.2706, allocations: 35.97 kB / 0.9848 GB, free: 14.54 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (113): * Single equations (assignments): 112 * 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.0006776/0.2713, allocations: 291.2 kB / 0.9851 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.2715, allocations: 127.4 kB / 0.9852 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.2741, allocations: 1.042 MB / 0.9862 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.2741, allocations: 12 kB / 0.9862 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2741, allocations: 0 / 0.9862 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.2741, allocations: 7.969 kB / 0.9862 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004201/0.2783, allocations: 2.077 MB / 0.9883 GB, free: 10.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.2783, allocations: 3.938 kB / 0.9883 GB, free: 10.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006366/0.279, allocations: 151.8 kB / 0.9884 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000807/0.2798, allocations: 123.6 kB / 0.9885 GB, free: 10.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-05/0.2798, allocations: 27.97 kB / 0.9886 GB, free: 10.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002525/0.2824, allocations: 2.059 MB / 0.9906 GB, free: 8.414 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.2824, allocations: 3.938 kB / 0.9906 GB, free: 8.41 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.2847, allocations: 1.084 MB / 0.9916 GB, free: 7.305 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/0.2851, allocations: 207 kB / 0.9918 GB, free: 7.102 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.2853, allocations: 31.92 kB / 0.9919 GB, free: 7.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005464/0.2858, allocations: 40.03 kB / 0.9919 GB, free: 7.031 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.286, allocations: 88.78 kB / 0.992 GB, free: 6.941 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002988/0.2863, allocations: 35.98 kB / 0.992 GB, free: 6.906 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007016/0.287, allocations: 0.4912 MB / 0.9925 GB, free: 6.418 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.287, allocations: 0 / 0.9925 GB, free: 6.418 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001051/0.2881, allocations: 351.1 kB / 0.9928 GB, free: 6.074 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003369/0.2914, allocations: 0.652 MB / 0.9935 GB, free: 5.629 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001971/0.2934, allocations: 0.9182 MB / 0.9944 GB, free: 4.695 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.2934, allocations: 4 kB / 0.9944 GB, free: 4.691 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.2945, allocations: 0.5947 MB / 0.995 GB, free: 4.074 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.296, allocations: 337.1 kB / 0.9953 GB, free: 3.766 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/0.2995, allocations: 1.691 MB / 0.9969 GB, free: 2.035 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005524/0.3, allocations: 453.4 kB / 0.9974 GB, free: 1.559 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008533/0.3009, allocations: 255 kB / 0.9976 GB, free: 1.305 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.3012, allocations: 116.4 kB / 0.9977 GB, free: 1.191 MB / 0.948 GB Notification: Performance of SimCode: time 1.493e-06/0.3012, allocations: 0 / 0.9977 GB, free: 1.191 MB / 0.948 GB Notification: Performance of Templates: time 0.03252/0.3337, allocations: 16.55 MB / 1.014 GB, free: 0.9414 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 240] 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/jenkins/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: 9.114091187017038]