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.0009074/0.0009074, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008515/0.0008515, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8529/0.8529, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.74/1.74, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.593e-06/1.593e-06, allocations: 3.938 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.278e-05/3.438e-05, allocations: 6.219 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005034/0.005068, allocations: 4.471 MB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.7016/0.7067, allocations: 132.8 MB / 1.135 GB, free: 14.97 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008017/0.7075, allocations: 32.06 kB / 1.135 GB, free: 14.95 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.7081, allocations: 204.2 kB / 1.135 GB, free: 14.81 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.7097, allocations: 0.585 MB / 1.136 GB, free: 14.47 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.7115, allocations: 0.8923 MB / 1.137 GB, free: 14.01 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001709/0.7133, allocations: 1.51 MB / 1.138 GB, free: 13.21 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006782/0.7139, allocations: 407.5 kB / 1.138 GB, free: 12.98 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.715, allocations: 0.7745 MB / 1.139 GB, free: 12.61 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004935/0.7155, allocations: 424.9 kB / 1.14 GB, free: 12.45 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.7156, allocations: 125.1 kB / 1.14 GB, free: 12.45 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.7166, allocations: 0.4926 MB / 1.14 GB, free: 12.35 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002743/0.7169, allocations: 323.9 kB / 1.14 GB, free: 12.14 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003368/0.7172, allocations: 409.3 kB / 1.141 GB, free: 11.93 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002299/0.7195, allocations: 1.828 MB / 1.143 GB, free: 11.18 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.7196, allocations: 0.6562 kB / 1.143 GB, free: 11.18 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7196, allocations: 1.156 kB / 1.143 GB, free: 11.18 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.7196, allocations: 4 kB / 1.143 GB, free: 11.17 MB / 1.01 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.002116/0.7217, allocations: 1.46 MB / 1.144 GB, free: 10.22 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.7217, allocations: 12.39 kB / 1.144 GB, free: 10.22 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.7228, allocations: 291.2 kB / 1.144 GB, free: 10.14 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.7238, allocations: 0.7352 MB / 1.145 GB, free: 9.684 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.7239, allocations: 69.61 kB / 1.145 GB, free: 9.656 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-05/0.724, allocations: 94.45 kB / 1.145 GB, free: 9.625 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.7255, allocations: 1.254 MB / 1.146 GB, free: 8.844 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.7255, allocations: 1.094 kB / 1.146 GB, free: 8.844 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.456e-05/0.7255, allocations: 39.44 kB / 1.147 GB, free: 8.816 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.7256, allocations: 21.31 kB / 1.147 GB, free: 8.816 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.7271, allocations: 1.131 MB / 1.148 GB, free: 8.539 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003451/0.7306, allocations: 2.542 MB / 1.15 GB, free: 6.953 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.7319, allocations: 0.8628 MB / 1.151 GB, free: 6.633 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/0.7324, allocations: 302.4 kB / 1.151 GB, free: 6.516 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.036e-05/0.7324, allocations: 26.97 kB / 1.151 GB, free: 6.512 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007768/0.7332, allocations: 0.6234 MB / 1.152 GB, free: 6.164 MB / 1.01 GB Notification: Performance of pre-optimization done (n=91): time 3.607e-06/0.7332, allocations: 0 / 1.152 GB, free: 6.164 MB / 1.01 GB Notification: Performance of matching and sorting (n=91): time 0.002294/0.7355, allocations: 1.196 MB / 1.153 GB, free: 5.734 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.7356, allocations: 203.9 kB / 1.153 GB, free: 5.508 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007081/0.7363, allocations: 0.612 MB / 1.154 GB, free: 5.234 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/0.7364, allocations: 49.91 kB / 1.154 GB, free: 5.188 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.7367, allocations: 421.9 kB / 1.154 GB, free: 4.859 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.7369, allocations: 304.3 kB / 1.155 GB, free: 4.617 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.7371, allocations: 188.6 kB / 1.155 GB, free: 4.527 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.7373, allocations: 390.4 kB / 1.155 GB, free: 4.18 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.7377, allocations: 302.9 kB / 1.155 GB, free: 4.074 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005441/0.7382, allocations: 0.5342 MB / 1.156 GB, free: 3.723 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008758/0.7391, allocations: 0.6891 MB / 1.157 GB, free: 3.383 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.7391, allocations: 1.25 kB / 1.157 GB, free: 3.383 MB / 1.01 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001546/0.7406, allocations: 0.9561 MB / 1.158 GB, free: 3.004 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.7407, allocations: 6.531 kB / 1.158 GB, free: 3.004 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.7407, allocations: 3.766 kB / 1.158 GB, free: 3.004 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003495/0.741, allocations: 85.08 kB / 1.158 GB, free: 2.984 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.7415, allocations: 180 kB / 1.158 GB, free: 2.969 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.743, allocations: 1.505 MB / 1.159 GB, free: 1.59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.7435, allocations: 99.41 kB / 1.159 GB, free: 1.539 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.7436, allocations: 42.48 kB / 1.159 GB, free: 1.531 MB / 1.01 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.0005082/0.7441, allocations: 286 kB / 1.16 GB, free: 1.316 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.7442, allocations: 96.84 kB / 1.16 GB, free: 1.262 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.746, allocations: 1.1 MB / 1.161 GB, free: 0.8359 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.746, allocations: 14.81 kB / 1.161 GB, free: 0.832 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.746, allocations: 1.344 kB / 1.161 GB, free: 0.832 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.746, allocations: 5.625 kB / 1.161 GB, free: 0.832 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002902/0.7489, allocations: 1.946 MB / 1.163 GB, free: 15.89 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.7489, allocations: 5.344 kB / 1.163 GB, free: 15.89 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.7493, allocations: 150.7 kB / 1.163 GB, free: 15.88 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002438/0.7495, allocations: 77.33 kB / 1.163 GB, free: 15.85 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.7495, allocations: 25.72 kB / 1.163 GB, free: 15.84 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.7508, allocations: 1.536 MB / 1.165 GB, free: 14.45 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7508, allocations: 0 / 1.165 GB, free: 14.45 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.7523, allocations: 1.052 MB / 1.166 GB, free: 13.98 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003742/0.7527, allocations: 202.8 kB / 1.166 GB, free: 13.86 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.229e-05/0.7527, allocations: 29.25 kB / 1.166 GB, free: 13.84 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.7531, allocations: 65.66 kB / 1.166 GB, free: 13.83 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.7533, allocations: 78.22 kB / 1.166 GB, free: 13.82 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.7533, allocations: 38.62 kB / 1.166 GB, free: 13.81 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004959/0.7538, allocations: 438.4 kB / 1.166 GB, free: 13.61 MB / 1.026 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7538, allocations: 1.125 kB / 1.166 GB, free: 13.61 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.00104/0.7548, allocations: 346.6 kB / 1.167 GB, free: 13.52 MB / 1.026 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.001366/0.7562, allocations: 0.6615 MB / 1.167 GB, free: 13.26 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001677/0.7579, allocations: 0.8691 MB / 1.168 GB, free: 12.9 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7579, allocations: 0 / 1.168 GB, free: 12.9 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0007279/0.7586, allocations: 0.5159 MB / 1.169 GB, free: 12.66 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.7597, allocations: 305.9 kB / 1.169 GB, free: 12.56 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.7628, allocations: 1.759 MB / 1.171 GB, free: 11.64 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.7633, allocations: 453.2 kB / 1.171 GB, free: 11.5 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.7637, allocations: 120.5 kB / 1.171 GB, free: 11.48 MB / 1.026 GB Notification: Performance of SimCode: time 2.645e-06/0.7637, allocations: 0 / 1.171 GB, free: 11.48 MB / 1.026 GB Notification: Performance of Templates: time 0.0315/0.7952, allocations: 19.78 MB / 1.191 GB, free: 4.574 MB / 1.026 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.832111639901996]