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.001846/0.001846, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.001949/0.001949, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.934/2.934, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.827e-05, allocations: 3.188 kB / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.008177/0.008205, allocations: 4.74 MB / 0.791 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.2091/0.2173, allocations: 146.3 MB / 0.9338 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.2183, allocations: 27.81 kB / 0.9339 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0007358/0.2191, allocations: 202.1 kB / 0.9341 GB, free: 5.109 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.2211, allocations: 0.5823 MB / 0.9346 GB, free: 4.523 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.2233, allocations: 0.892 MB / 0.9355 GB, free: 3.629 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002384/0.2257, allocations: 1.513 MB / 0.937 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008434/0.2265, allocations: 417.9 kB / 0.9374 GB, free: 1.68 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.2279, allocations: 0.768 MB / 0.9381 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007237/0.2286, allocations: 426.7 kB / 0.9385 GB, free: 0.4922 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002179/0.2289, allocations: 124 kB / 0.9386 GB, free: 380 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.23, allocations: 0.4916 MB / 0.9391 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.2304, allocations: 326.9 kB / 0.9394 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0005528/0.2309, allocations: 399 kB / 0.9398 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.2337, allocations: 1.849 MB / 0.9416 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2337, allocations: 0 / 0.9416 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2337, allocations: 0 / 0.9416 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.566e-05/0.2337, allocations: 4 kB / 0.9416 GB, free: 13.31 MB / 0.9011 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.003416/0.2371, allocations: 1.644 MB / 0.9432 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2372, allocations: 12.03 kB / 0.9432 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001936/0.2391, allocations: 367.5 kB / 0.9436 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.2406, allocations: 0.7481 MB / 0.9443 GB, free: 10.47 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.272e-05/0.2407, allocations: 74.12 kB / 0.9444 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.2409, allocations: 96 kB / 0.9445 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.2431, allocations: 1.299 MB / 0.9458 GB, free: 8.879 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.2431, allocations: 4 kB / 0.9458 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-05/0.2432, allocations: 36 kB / 0.9458 GB, free: 8.84 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.2433, allocations: 24 kB / 0.9458 GB, free: 8.816 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.2454, allocations: 1.069 MB / 0.9469 GB, free: 7.75 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006352/0.2518, allocations: 3.488 MB / 0.9503 GB, free: 4.141 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.2536, allocations: 0.7874 MB / 0.951 GB, free: 3.352 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005976/0.2542, allocations: 282.6 kB / 0.9513 GB, free: 3.074 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.2543, allocations: 36.91 kB / 0.9513 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/0.2554, allocations: 0.6278 MB / 0.952 GB, free: 2.363 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=91): time 2.996e-06/0.2554, allocations: 0 / 0.952 GB, free: 2.363 MB / 0.9011 GB Notification: Performance of matching and sorting (n=91): time 0.003576/0.259, allocations: 1.113 MB / 0.953 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.2592, allocations: 204.9 kB / 0.9532 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.2603, allocations: 0.7729 MB / 0.954 GB, free: 212 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.564e-05/0.2604, allocations: 49.7 kB / 0.954 GB, free: 156 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005573/0.261, allocations: 0.496 MB / 0.9545 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003568/0.2613, allocations: 325.4 kB / 0.9548 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003857/0.2617, allocations: 228.2 kB / 0.9551 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000441/0.2621, allocations: 0.6249 MB / 0.9557 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005808/0.2627, allocations: 249.9 kB / 0.9559 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008929/0.2636, allocations: 0.5399 MB / 0.9564 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.2651, allocations: 0.6388 MB / 0.9571 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2651, allocations: 0 / 0.9571 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002379/0.2675, allocations: 0.9105 MB / 0.9579 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/0.2675, allocations: 8 kB / 0.9579 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2676, allocations: 0 / 0.9579 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.2686, allocations: 147.7 kB / 0.9581 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008283/0.2694, allocations: 187.8 kB / 0.9583 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/0.2722, allocations: 2.041 MB / 0.9603 GB, free: 9.516 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/0.2729, allocations: 87.52 kB / 0.9603 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/0.273, allocations: 43.97 kB / 0.9604 GB, free: 9.387 MB / 0.9167 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.0004994/0.2735, allocations: 283 kB / 0.9607 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.2738, allocations: 123.5 kB / 0.9608 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/0.2764, allocations: 1.045 MB / 0.9618 GB, free: 7.91 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.2764, allocations: 8 kB / 0.9618 GB, free: 7.902 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.2764, allocations: 4 kB / 0.9618 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.2764, allocations: 3.984 kB / 0.9618 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004335/0.2808, allocations: 2.077 MB / 0.9638 GB, free: 5.762 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.2808, allocations: 3.984 kB / 0.9638 GB, free: 5.758 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008653/0.2817, allocations: 151.8 kB / 0.964 GB, free: 5.609 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008195/0.2825, allocations: 131.6 kB / 0.9641 GB, free: 5.477 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.596e-05/0.2825, allocations: 23.98 kB / 0.9641 GB, free: 5.453 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.2851, allocations: 2.058 MB / 0.9661 GB, free: 3.266 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2851, allocations: 0 / 0.9661 GB, free: 3.266 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.2876, allocations: 1.091 MB / 0.9672 GB, free: 2.148 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/0.2881, allocations: 211 kB / 0.9674 GB, free: 1.941 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.2882, allocations: 27.98 kB / 0.9674 GB, free: 1.914 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/0.2888, allocations: 43.97 kB / 0.9675 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.289, allocations: 80.84 kB / 0.9676 GB, free: 1.793 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.961e-05/0.289, allocations: 35.98 kB / 0.9676 GB, free: 1.758 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007093/0.2897, allocations: 0.4912 MB / 0.9681 GB, free: 1.27 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2897, allocations: 0 / 0.9681 GB, free: 1.27 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001041/0.2908, allocations: 343.1 kB / 0.9684 GB, free: 0.9336 MB / 0.9167 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.003457/0.2942, allocations: 0.6631 MB / 0.969 GB, free: 484 kB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002101/0.2963, allocations: 0.9219 MB / 0.9699 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2963, allocations: 0 / 0.9699 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.2975, allocations: 0.583 MB / 0.9705 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.299, allocations: 341.1 kB / 0.9708 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.3027, allocations: 1.689 MB / 0.9725 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.3032, allocations: 453.2 kB / 0.9729 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008357/0.304, allocations: 255.1 kB / 0.9732 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.3044, allocations: 116.4 kB / 0.9733 GB, free: 12.05 MB / 0.9323 GB Notification: Performance of SimCode: time 1.433e-06/0.3044, allocations: 0 / 0.9733 GB, free: 12.05 MB / 0.9323 GB Notification: Performance of Templates: time 0.03386/0.3382, allocations: 16.52 MB / 0.9894 GB, free: 11.82 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 240] 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/jenkins/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: 8.781453266041353]