Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.0008373/0.0008373, 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.0007923/0.0007923, 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.8735/0.8735, 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.713/1.713, 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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.764e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005847/0.005875, allocations: 4.674 MB / 1.005 GB, free: 8.344 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6385/0.6444, allocations: 132.8 MB / 1.135 GB, free: 14.74 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009998/0.6454, allocations: 24.69 kB / 1.135 GB, free: 14.73 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005792/0.646, allocations: 210.2 kB / 1.135 GB, free: 14.59 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.6477, allocations: 0.5999 MB / 1.136 GB, free: 14.24 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.6495, allocations: 0.8959 MB / 1.137 GB, free: 13.77 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.6513, allocations: 1.548 MB / 1.138 GB, free: 12.95 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008777/0.6522, allocations: 456.4 kB / 1.139 GB, free: 12.69 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.6533, allocations: 0.8142 MB / 1.14 GB, free: 12.3 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006608/0.654, allocations: 446 kB / 1.14 GB, free: 12.14 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.6542, allocations: 135.7 kB / 1.14 GB, free: 12.14 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.6554, allocations: 0.5107 MB / 1.141 GB, free: 12.03 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003176/0.6557, allocations: 340.3 kB / 1.141 GB, free: 11.8 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004904/0.6562, allocations: 438.7 kB / 1.141 GB, free: 11.59 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002615/0.6588, allocations: 1.935 MB / 1.143 GB, free: 10.78 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6588, allocations: 1.781 kB / 1.143 GB, free: 10.78 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6588, allocations: 4 kB / 1.143 GB, free: 10.77 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.6588, allocations: 0.7031 kB / 1.143 GB, free: 10.77 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002568/0.6614, allocations: 1.51 MB / 1.145 GB, free: 9.793 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.6615, allocations: 10.38 kB / 1.145 GB, free: 9.793 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.6634, allocations: 372.7 kB / 1.145 GB, free: 9.707 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.6649, allocations: 0.7361 MB / 1.146 GB, free: 9.258 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.433e-05/0.6649, allocations: 81.23 kB / 1.146 GB, free: 9.219 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.6651, allocations: 104.2 kB / 1.146 GB, free: 9.184 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.667, allocations: 1.347 MB / 1.147 GB, free: 8.402 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.6671, allocations: 0.9062 kB / 1.147 GB, free: 8.402 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.866e-05/0.6671, allocations: 43.38 kB / 1.147 GB, free: 8.371 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.6671, allocations: 23.5 kB / 1.147 GB, free: 8.371 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.6689, allocations: 1.233 MB / 1.149 GB, free: 8.07 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003409/0.6723, allocations: 2.394 MB / 1.151 GB, free: 6.758 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.6741, allocations: 0.9494 MB / 1.152 GB, free: 6.422 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005328/0.6746, allocations: 358.1 kB / 1.152 GB, free: 6.297 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.621e-05/0.6747, allocations: 25.81 kB / 1.152 GB, free: 6.293 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009052/0.6756, allocations: 0.6858 MB / 1.153 GB, free: 5.93 MB / 1.01 GB Notification: Performance of pre-optimization done (n=92): time 2.305e-06/0.6756, allocations: 0 / 1.153 GB, free: 5.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=92): time 0.002562/0.6782, allocations: 1.346 MB / 1.154 GB, free: 5.477 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.6783, allocations: 205 kB / 1.154 GB, free: 5.246 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/0.679, allocations: 0.6036 MB / 1.155 GB, free: 4.969 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/0.6791, allocations: 51.33 kB / 1.155 GB, free: 4.922 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.6793, allocations: 436.8 kB / 1.155 GB, free: 4.586 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.6795, allocations: 307.5 kB / 1.156 GB, free: 4.34 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.6798, allocations: 185.7 kB / 1.156 GB, free: 4.258 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6799, allocations: 394 kB / 1.156 GB, free: 3.906 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/0.6805, allocations: 351.2 kB / 1.157 GB, free: 3.793 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/0.6811, allocations: 0.5661 MB / 1.157 GB, free: 3.457 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.6823, allocations: 0.759 MB / 1.158 GB, free: 3.133 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6823, allocations: 0 / 1.158 GB, free: 3.133 MB / 1.01 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001759/0.684, allocations: 1.031 MB / 1.159 GB, free: 2.742 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.684, allocations: 6.5 kB / 1.159 GB, free: 2.742 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.684, allocations: 0.9375 kB / 1.159 GB, free: 2.742 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003553/0.6844, allocations: 84.44 kB / 1.159 GB, free: 2.723 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005193/0.6849, allocations: 200.2 kB / 1.159 GB, free: 2.699 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.6864, allocations: 1.503 MB / 1.161 GB, free: 1.332 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.6869, allocations: 117.4 kB / 1.161 GB, free: 1.281 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/0.687, allocations: 41.98 kB / 1.161 GB, free: 1.273 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (111): * Single equations (assignments): 110 * 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.0003851/0.6874, allocations: 282.4 kB / 1.161 GB, free: 1.062 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.6875, allocations: 92.62 kB / 1.161 GB, free: 1.012 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.6894, allocations: 1.221 MB / 1.162 GB, free: 0.5547 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.6894, allocations: 10.84 kB / 1.162 GB, free: 0.5547 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.6894, allocations: 3.625 kB / 1.162 GB, free: 0.5547 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.6895, allocations: 6.281 kB / 1.162 GB, free: 0.5547 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/0.6923, allocations: 2.087 MB / 1.164 GB, free: 15.56 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6923, allocations: 0 / 1.164 GB, free: 15.56 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.6927, allocations: 172.6 kB / 1.165 GB, free: 15.55 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002184/0.693, allocations: 77.2 kB / 1.165 GB, free: 15.53 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/0.693, allocations: 26.97 kB / 1.165 GB, free: 15.52 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.6942, allocations: 1.531 MB / 1.166 GB, free: 14.13 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.6942, allocations: 1.672 kB / 1.166 GB, free: 14.13 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.6958, allocations: 1.152 MB / 1.167 GB, free: 13.63 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.6961, allocations: 209.1 kB / 1.167 GB, free: 13.52 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/0.6962, allocations: 31.59 kB / 1.168 GB, free: 13.5 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.6966, allocations: 83.64 kB / 1.168 GB, free: 13.48 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.6968, allocations: 80.86 kB / 1.168 GB, free: 13.47 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-05/0.6968, allocations: 38.5 kB / 1.168 GB, free: 13.46 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004304/0.6972, allocations: 435.5 kB / 1.168 GB, free: 13.27 MB / 1.026 GB Notification: Performance of sort global known variables: time 7e-08/0.6972, allocations: 0 / 1.168 GB, free: 13.27 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0008963/0.6981, allocations: 368.6 kB / 1.168 GB, free: 13.16 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 (104): * Single equations (assignments): 93 * 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.001161/0.6993, allocations: 0.6619 MB / 1.169 GB, free: 12.9 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.7008, allocations: 0.9658 MB / 1.17 GB, free: 12.53 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7008, allocations: 1.156 kB / 1.17 GB, free: 12.53 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0007804/0.7016, allocations: 0.5662 MB / 1.171 GB, free: 12.27 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008235/0.7024, allocations: 287.1 kB / 1.171 GB, free: 12.18 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.7053, allocations: 1.885 MB / 1.173 GB, free: 11.21 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.7058, allocations: 471.9 kB / 1.173 GB, free: 11.07 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.7061, allocations: 125.8 kB / 1.173 GB, free: 11.04 MB / 1.026 GB Notification: Performance of SimCode: time 7.91e-07/0.7061, allocations: 0 / 1.173 GB, free: 11.04 MB / 1.026 GB Notification: Performance of Templates: time 0.01979/0.7259, allocations: 20.57 MB / 1.193 GB, free: 3.336 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,skyBri.skyBri Variables in the result:skyBri.skyBri,time [Calling sys.exit(0), Time elapsed: 9.048171255737543]