Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001856/0.001856, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.002323/0.002323, allocations: 210.1 kB / 22.99 MB, free: 4.98 MB / 14.72 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.577/1.577, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.205/3.205, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002968/0.002968, allocations: 65.47 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3408, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00749/0.3483, allocations: 4.695 MB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1736/0.5219, allocations: 132.7 MB / 1.461 GB, free: 7.062 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009538/0.5229, allocations: 23.81 kB / 1.461 GB, free: 7.039 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006269/0.5235, allocations: 214.1 kB / 1.461 GB, free: 6.828 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.5254, allocations: 0.5795 MB / 1.462 GB, free: 6.25 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.5276, allocations: 0.8802 MB / 1.463 GB, free: 5.375 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001756/0.5293, allocations: 1.475 MB / 1.464 GB, free: 3.895 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008371/0.5301, allocations: 478.8 kB / 1.465 GB, free: 3.395 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000777/0.5309, allocations: 0.5529 MB / 1.465 GB, free: 2.84 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000681/0.5316, allocations: 0.5601 MB / 1.466 GB, free: 2.277 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.5318, allocations: 132 kB / 1.466 GB, free: 2.148 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.5328, allocations: 0.5113 MB / 1.467 GB, free: 1.637 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003156/0.5331, allocations: 323 kB / 1.467 GB, free: 1.32 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005239/0.5336, allocations: 0.5054 MB / 1.467 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002263/0.5359, allocations: 1.817 MB / 1.469 GB, free: 14.99 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5359, allocations: 0 / 1.469 GB, free: 14.99 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5359, allocations: 4 kB / 1.469 GB, free: 14.98 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.208e-05/0.5359, allocations: 0 / 1.469 GB, free: 14.98 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002889/0.5388, allocations: 1.498 MB / 1.471 GB, free: 13.45 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.5389, allocations: 12.03 kB / 1.471 GB, free: 13.44 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/0.5415, allocations: 363.8 kB / 1.471 GB, free: 13.09 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.543, allocations: 0.7453 MB / 1.472 GB, free: 12.31 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.155e-05/0.543, allocations: 74 kB / 1.472 GB, free: 12.24 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.5432, allocations: 92 kB / 1.472 GB, free: 12.15 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.5456, allocations: 1.325 MB / 1.473 GB, free: 10.73 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.5456, allocations: 0 / 1.473 GB, free: 10.73 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.5457, allocations: 40 kB / 1.473 GB, free: 10.69 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.263e-05/0.5458, allocations: 24 kB / 1.473 GB, free: 10.66 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/0.5483, allocations: 1.229 MB / 1.474 GB, free: 9.43 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004709/0.553, allocations: 2.245 MB / 1.477 GB, free: 7.137 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002812/0.5558, allocations: 0.904 MB / 1.477 GB, free: 6.223 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008415/0.5566, allocations: 342.6 kB / 1.478 GB, free: 5.887 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.306e-05/0.5567, allocations: 24.64 kB / 1.478 GB, free: 5.863 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.558, allocations: 0.661 MB / 1.478 GB, free: 5.164 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 2.755e-06/0.558, allocations: 0 / 1.478 GB, free: 5.164 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.004289/0.5623, allocations: 1.305 MB / 1.48 GB, free: 3.848 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/0.5624, allocations: 192.9 kB / 1.48 GB, free: 3.617 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008301/0.5632, allocations: 0.6055 MB / 1.48 GB, free: 3.004 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.047e-05/0.5633, allocations: 45.7 kB / 1.481 GB, free: 2.953 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/0.5637, allocations: 445 kB / 1.481 GB, free: 2.512 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.564, allocations: 285.5 kB / 1.481 GB, free: 2.23 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.5643, allocations: 170.6 kB / 1.481 GB, free: 2.059 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.5645, allocations: 382.8 kB / 1.482 GB, free: 1.676 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008342/0.5653, allocations: 325.8 kB / 1.482 GB, free: 1.355 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.5663, allocations: 0.5465 MB / 1.483 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.568, allocations: 0.7101 MB / 1.483 GB, free: 48 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.568, allocations: 0 / 1.483 GB, free: 48 kB / 1.17 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002735/0.5707, allocations: 0.9663 MB / 1.484 GB, free: 15.07 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5707, allocations: 8 kB / 1.484 GB, free: 15.06 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.5708, allocations: 3.984 kB / 1.484 GB, free: 15.06 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007514/0.5715, allocations: 84.81 kB / 1.484 GB, free: 14.97 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/0.5724, allocations: 183.8 kB / 1.485 GB, free: 14.79 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.5747, allocations: 1.499 MB / 1.486 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009364/0.5756, allocations: 115.5 kB / 1.486 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.349e-05/0.5757, allocations: 39.91 kB / 1.486 GB, free: 13.04 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (98): * Single equations (assignments): 97 * 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.0004885/0.5762, allocations: 275.4 kB / 1.486 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.5764, allocations: 87.48 kB / 1.486 GB, free: 12.67 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00325/0.5796, allocations: 1.198 MB / 1.488 GB, free: 11.45 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.5796, allocations: 11.98 kB / 1.488 GB, free: 11.44 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.5797, allocations: 4 kB / 1.488 GB, free: 11.44 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.5797, allocations: 7.984 kB / 1.488 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004126/0.5838, allocations: 1.867 MB / 1.489 GB, free: 9.52 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5838, allocations: 0 / 1.489 GB, free: 9.52 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000821/0.5846, allocations: 179.7 kB / 1.49 GB, free: 9.344 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005035/0.5851, allocations: 72.78 kB / 1.49 GB, free: 9.27 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/0.5852, allocations: 27.98 kB / 1.49 GB, free: 9.242 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.5873, allocations: 1.539 MB / 1.491 GB, free: 7.598 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5873, allocations: 0 / 1.491 GB, free: 7.598 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/0.5901, allocations: 1.123 MB / 1.492 GB, free: 6.453 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004755/0.5905, allocations: 199.1 kB / 1.493 GB, free: 6.258 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.5907, allocations: 20 kB / 1.493 GB, free: 6.238 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008329/0.5915, allocations: 83.91 kB / 1.493 GB, free: 6.156 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.5917, allocations: 76.86 kB / 1.493 GB, free: 6.082 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-05/0.5918, allocations: 35.97 kB / 1.493 GB, free: 6.047 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005878/0.5923, allocations: 439 kB / 1.493 GB, free: 5.625 MB / 1.186 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5923, allocations: 0 / 1.493 GB, free: 5.625 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009733/0.5933, allocations: 363 kB / 1.494 GB, free: 5.27 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002109/0.5954, allocations: 0.6337 MB / 1.494 GB, free: 4.836 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002382/0.5978, allocations: 0.9172 MB / 1.495 GB, free: 3.906 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5978, allocations: 0 / 1.495 GB, free: 3.906 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.5991, allocations: 0.5509 MB / 1.496 GB, free: 3.344 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.6003, allocations: 304.5 kB / 1.496 GB, free: 3.07 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003528/0.6039, allocations: 1.825 MB / 1.498 GB, free: 1.219 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.6044, allocations: 481.9 kB / 1.498 GB, free: 0.707 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008904/0.6053, allocations: 274.5 kB / 1.498 GB, free: 444 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.6056, allocations: 115.4 kB / 1.498 GB, free: 328 kB / 1.186 GB Notification: Performance of SimCode: time 8.91e-07/0.6056, allocations: 0 / 1.498 GB, free: 328 kB / 1.186 GB Notification: Performance of Templates: time 0.0307/0.6363, allocations: 17.22 MB / 1.515 GB, free: 15.36 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.789667575998465]