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.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.001856/0.001856, allocations: 84.73 kB / 19.44 MB, free: 348 kB / 13.93 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.002277/0.002277, allocations: 161.7 kB / 22.75 MB, free: 1.676 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.531/1.531, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.2/3.2, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.8775 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.833e-05, allocations: 2.844 kB / 0.8775 GB, free: 5.398 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007364/0.007393, allocations: 4.488 MB / 0.8819 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.193/0.2004, allocations: 132.8 MB / 1.012 GB, free: 11.66 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007717/0.2011, allocations: 23.81 kB / 1.012 GB, free: 11.64 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0007697/0.2019, allocations: 202.1 kB / 1.012 GB, free: 11.44 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.204, allocations: 0.5863 MB / 1.012 GB, free: 10.85 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.2064, allocations: 0.8803 MB / 1.013 GB, free: 9.969 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002151/0.2085, allocations: 1.513 MB / 1.015 GB, free: 8.445 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000926/0.2094, allocations: 417.9 kB / 1.015 GB, free: 8.012 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.2108, allocations: 0.7641 MB / 1.016 GB, free: 7.246 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007792/0.2116, allocations: 426.8 kB / 1.016 GB, free: 6.828 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.2119, allocations: 124 kB / 1.016 GB, free: 6.707 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.2129, allocations: 0.4993 MB / 1.017 GB, free: 6.207 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003895/0.2133, allocations: 315 kB / 1.017 GB, free: 5.898 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005708/0.2139, allocations: 410.9 kB / 1.018 GB, free: 5.496 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002868/0.2168, allocations: 1.838 MB / 1.019 GB, free: 3.652 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2168, allocations: 0 / 1.019 GB, free: 3.652 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2168, allocations: 0 / 1.019 GB, free: 3.652 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.2168, allocations: 3.938 kB / 1.019 GB, free: 3.648 MB / 0.9323 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.003104/0.2199, allocations: 1.455 MB / 1.021 GB, free: 2.16 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2199, allocations: 8.031 kB / 1.021 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.222, allocations: 399.5 kB / 1.021 GB, free: 1.762 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.2236, allocations: 0.757 MB / 1.022 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.493e-05/0.2237, allocations: 70.12 kB / 1.022 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.2238, allocations: 95.94 kB / 1.022 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4005/0.6244, allocations: 1.254 MB / 1.023 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.6244, allocations: 0.875 kB / 1.023 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.6245, allocations: 40.34 kB / 1.023 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.6246, allocations: 22.62 kB / 1.023 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.6272, allocations: 1.127 MB / 1.024 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005195/0.6324, allocations: 2.561 MB / 1.027 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.6346, allocations: 0.8767 MB / 1.028 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006345/0.6352, allocations: 313 kB / 1.028 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.6353, allocations: 31.7 kB / 1.028 GB, free: 158.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.6364, allocations: 0.6166 MB / 1.029 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=91): time 3.877e-06/0.6364, allocations: 0 / 1.029 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=91): time 0.003742/0.6401, allocations: 1.226 MB / 1.03 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.6402, allocations: 199.6 kB / 1.03 GB, free: 157.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009623/0.6411, allocations: 0.6134 MB / 1.031 GB, free: 157 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.6413, allocations: 50.53 kB / 1.031 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.6416, allocations: 421 kB / 1.031 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.6418, allocations: 299.5 kB / 1.031 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.6421, allocations: 192.1 kB / 1.032 GB, free: 156.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.6423, allocations: 393.1 kB / 1.032 GB, free: 156 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006628/0.6429, allocations: 302.4 kB / 1.032 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007797/0.6437, allocations: 0.5393 MB / 1.033 GB, free: 155.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.645, allocations: 0.6799 MB / 1.034 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.645, allocations: 1.188 kB / 1.034 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002508/0.6475, allocations: 0.994 MB / 1.034 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.6475, allocations: 6.5 kB / 1.034 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6476, allocations: 6.391 kB / 1.034 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.6486, allocations: 127.5 kB / 1.035 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007855/0.6494, allocations: 184.2 kB / 1.035 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.6513, allocations: 1.508 MB / 1.036 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008694/0.6522, allocations: 101.5 kB / 1.036 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-05/0.6523, allocations: 40.92 kB / 1.036 GB, free: 153.4 MB / 0.9323 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.0004987/0.6528, allocations: 280.7 kB / 1.037 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/0.6531, allocations: 120.5 kB / 1.037 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/0.6556, allocations: 1.108 MB / 1.038 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.6556, allocations: 13.41 kB / 1.038 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.6556, allocations: 0.6094 kB / 1.038 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.676e-05/0.6556, allocations: 6.344 kB / 1.038 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/0.6596, allocations: 1.95 MB / 1.04 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.6597, allocations: 1.438 kB / 1.04 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006428/0.6603, allocations: 154.9 kB / 1.04 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008049/0.6611, allocations: 121 kB / 1.04 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.911e-05/0.6612, allocations: 29.77 kB / 1.04 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.6628, allocations: 1.521 MB / 1.042 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6628, allocations: 3.938 kB / 1.042 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.665, allocations: 1.085 MB / 1.043 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/0.6654, allocations: 206.7 kB / 1.043 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.6655, allocations: 30.38 kB / 1.043 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006985/0.6662, allocations: 61.89 kB / 1.043 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/0.6664, allocations: 82.47 kB / 1.043 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.666e-05/0.6664, allocations: 37.22 kB / 1.043 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005893/0.667, allocations: 440.7 kB / 1.043 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.667, allocations: 0 / 1.043 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001007/0.668, allocations: 352 kB / 1.044 GB, free: 149.5 MB / 0.9323 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 (102): * Single equations (assignments): 91 * 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.002369/0.6704, allocations: 0.6631 MB / 1.044 GB, free: 149.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001872/0.6723, allocations: 0.8653 MB / 1.045 GB, free: 148.9 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6723, allocations: 1.844 kB / 1.045 GB, free: 148.9 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009217/0.6732, allocations: 0.5099 MB / 1.046 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.6746, allocations: 339.2 kB / 1.046 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.6775, allocations: 1.764 MB / 1.048 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.678, allocations: 455.3 kB / 1.048 GB, free: 147.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008503/0.6789, allocations: 269.1 kB / 1.049 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.6792, allocations: 116 kB / 1.049 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of SimCode: time 8.62e-07/0.6792, allocations: 1.062 kB / 1.049 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.02752/0.7067, allocations: 16.44 MB / 1.065 GB, free: 141.6 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.46255164500326]