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.002026/0.002026, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001658/0.001658, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.498/1.498, allocations: 177.1 MB / 203.9 MB, free: 5.602 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 2.851/2.851, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 177] 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.923e-06/1.923e-06, allocations: 0 / 0.8108 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.181e-05, allocations: 7.781 kB / 0.8108 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007971/0.008002, allocations: 4.495 MB / 0.8152 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.215/0.223, allocations: 132.8 MB / 0.9448 GB, free: 7.258 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007825/0.2238, allocations: 23.81 kB / 0.9449 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007905/0.2246, allocations: 198.1 kB / 0.945 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.2267, allocations: 0.5862 MB / 0.9456 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.2291, allocations: 0.8842 MB / 0.9465 GB, free: 5.562 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002425/0.2315, allocations: 1.509 MB / 0.948 GB, free: 4.043 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009821/0.2325, allocations: 406 kB / 0.9483 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.234, allocations: 0.7719 MB / 0.9491 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008038/0.2348, allocations: 430.7 kB / 0.9495 GB, free: 2.426 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.2351, allocations: 124 kB / 0.9496 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.2362, allocations: 0.4916 MB / 0.9501 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003979/0.2366, allocations: 318.9 kB / 0.9504 GB, free: 1.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005955/0.2372, allocations: 403 kB / 0.9508 GB, free: 1.105 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.24, allocations: 1.849 MB / 0.9526 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.24, allocations: 4 kB / 0.9526 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.182e-06/0.24, allocations: 0 / 0.9526 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.24, allocations: 0 / 0.9526 GB, free: 15.25 MB / 0.8698 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.003064/0.2431, allocations: 1.455 MB / 0.954 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2431, allocations: 8.031 kB / 0.954 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.2452, allocations: 403.4 kB / 0.9544 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.2469, allocations: 0.757 MB / 0.9552 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.663e-05/0.247, allocations: 74.12 kB / 0.9552 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.2472, allocations: 95.98 kB / 0.9553 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.2495, allocations: 1.254 MB / 0.9565 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.2495, allocations: 0 / 0.9565 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.2496, allocations: 40 kB / 0.9566 GB, free: 11 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.2496, allocations: 23.98 kB / 0.9566 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.2519, allocations: 1.128 MB / 0.9577 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005234/0.2572, allocations: 2.554 MB / 0.9602 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.2593, allocations: 0.8786 MB / 0.9611 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006774/0.26, allocations: 311.7 kB / 0.9614 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.798e-05/0.2601, allocations: 36.91 kB / 0.9614 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/0.2615, allocations: 0.6205 MB / 0.962 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=91): time 2.555e-06/0.2615, allocations: 0 / 0.962 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91): time 0.003828/0.2653, allocations: 1.219 MB / 0.9632 GB, free: 4.117 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001763/0.2655, allocations: 200.9 kB / 0.9634 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.2665, allocations: 0.6173 MB / 0.964 GB, free: 3.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.2666, allocations: 49.7 kB / 0.964 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004949/0.2671, allocations: 421.2 kB / 0.9644 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003505/0.2675, allocations: 305.4 kB / 0.9647 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003354/0.2678, allocations: 186.5 kB / 0.9649 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002759/0.2681, allocations: 398.7 kB / 0.9653 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006883/0.2688, allocations: 301.8 kB / 0.9656 GB, free: 1.594 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009214/0.2697, allocations: 0.5334 MB / 0.9661 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.2711, allocations: 0.6819 MB / 0.9667 GB, free: 312 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.2711, allocations: 0 / 0.9667 GB, free: 312 kB / 0.8698 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002701/0.2738, allocations: 0.9936 MB / 0.9677 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.2739, allocations: 8 kB / 0.9677 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.2739, allocations: 0 / 0.9677 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.2749, allocations: 144.8 kB / 0.9679 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008171/0.2757, allocations: 175.8 kB / 0.968 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/0.2784, allocations: 1.504 MB / 0.9695 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009154/0.2793, allocations: 106.1 kB / 0.9696 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.59e-05/0.2794, allocations: 35.97 kB / 0.9696 GB, free: 13.22 MB / 0.8855 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.0005524/0.2799, allocations: 284.2 kB / 0.9699 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/0.2802, allocations: 119.4 kB / 0.97 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.283, allocations: 1.121 MB / 0.9711 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.283, allocations: 12 kB / 0.9711 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.283, allocations: 3.938 kB / 0.9711 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.2831, allocations: 3.984 kB / 0.9711 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004363/0.2874, allocations: 1.953 MB / 0.973 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.2874, allocations: 4 kB / 0.973 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006876/0.2881, allocations: 155.7 kB / 0.9732 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007915/0.2889, allocations: 116.8 kB / 0.9733 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.577e-05/0.289, allocations: 31.97 kB / 0.9733 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.2912, allocations: 1.513 MB / 0.9748 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2912, allocations: 0 / 0.9748 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.2939, allocations: 1.092 MB / 0.9759 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004878/0.2943, allocations: 215.1 kB / 0.9761 GB, free: 6.406 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.2945, allocations: 28 kB / 0.9761 GB, free: 6.379 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/0.2952, allocations: 67.91 kB / 0.9762 GB, free: 6.312 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/0.2954, allocations: 80.84 kB / 0.9763 GB, free: 6.234 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.826e-05/0.2955, allocations: 35.98 kB / 0.9763 GB, free: 6.199 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006825/0.2962, allocations: 439 kB / 0.9767 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.2962, allocations: 0 / 0.9767 GB, free: 5.777 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001151/0.2973, allocations: 355.1 kB / 0.977 GB, free: 5.43 MB / 0.8855 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.002623/0.2999, allocations: 0.668 MB / 0.9777 GB, free: 4.969 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002222/0.3021, allocations: 0.8743 MB / 0.9786 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3022, allocations: 0 / 0.9786 GB, free: 4.082 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.3033, allocations: 0.5079 MB / 0.979 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.3048, allocations: 341 kB / 0.9794 GB, free: 3.254 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.3085, allocations: 1.758 MB / 0.9811 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/0.3091, allocations: 457.2 kB / 0.9815 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001021/0.3102, allocations: 279 kB / 0.9818 GB, free: 0.707 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003468/0.3105, allocations: 120.4 kB / 0.9819 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of SimCode: time 1.092e-06/0.3105, allocations: 0 / 0.9819 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of Templates: time 0.03329/0.3438, allocations: 16.47 MB / 0.998 GB, free: 420 kB / 0.9011 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 400] 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: 8.64924834202975]