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.001653/0.001653, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002023/0.002023, allocations: 211.8 kB / 23 MB, free: 4.934 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.199/3.199, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.002918/0.002918, allocations: 76.38 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3948, allocations: 176.1 MB / 1.327 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.008071/0.4029, allocations: 4.69 MB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1806/0.5835, allocations: 132.7 MB / 1.461 GB, free: 7.086 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009474/0.5844, allocations: 23.81 kB / 1.461 GB, free: 7.062 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006543/0.5851, allocations: 214.1 kB / 1.462 GB, free: 6.852 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001959/0.587, allocations: 0.5781 MB / 1.462 GB, free: 6.273 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.5892, allocations: 0.88 MB / 1.463 GB, free: 5.398 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001788/0.591, allocations: 1.483 MB / 1.464 GB, free: 3.91 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008288/0.5918, allocations: 474.9 kB / 1.465 GB, free: 3.414 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008006/0.5926, allocations: 0.5528 MB / 1.465 GB, free: 2.859 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006645/0.5933, allocations: 0.5601 MB / 1.466 GB, free: 2.297 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.5934, allocations: 135.9 kB / 1.466 GB, free: 2.164 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.5945, allocations: 0.5036 MB / 1.467 GB, free: 1.66 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.5948, allocations: 330.9 kB / 1.467 GB, free: 1.336 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005169/0.5953, allocations: 0.5054 MB / 1.467 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002396/0.5977, allocations: 1.809 MB / 1.469 GB, free: 15.01 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5977, allocations: 0 / 1.469 GB, free: 15.01 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5977, allocations: 0 / 1.469 GB, free: 15.01 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.777e-05/0.5977, allocations: 0 / 1.469 GB, free: 15.01 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.002933/0.6007, allocations: 1.493 MB / 1.471 GB, free: 13.48 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.6007, allocations: 8.031 kB / 1.471 GB, free: 13.48 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/0.6033, allocations: 375.8 kB / 1.471 GB, free: 13.11 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.6047, allocations: 0.7453 MB / 1.472 GB, free: 12.34 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.874e-05/0.6047, allocations: 70 kB / 1.472 GB, free: 12.27 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.6049, allocations: 95.98 kB / 1.472 GB, free: 12.17 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.6072, allocations: 1.317 MB / 1.473 GB, free: 10.76 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.6072, allocations: 3.984 kB / 1.473 GB, free: 10.75 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.6073, allocations: 47.94 kB / 1.473 GB, free: 10.71 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.6073, allocations: 24 kB / 1.473 GB, free: 10.68 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.6098, allocations: 1.225 MB / 1.474 GB, free: 9.453 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004826/0.6147, allocations: 2.242 MB / 1.477 GB, free: 7.164 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/0.6173, allocations: 0.9104 MB / 1.477 GB, free: 6.242 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007895/0.6181, allocations: 330.6 kB / 1.478 GB, free: 5.918 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.151e-05/0.6182, allocations: 36.56 kB / 1.478 GB, free: 5.883 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.6195, allocations: 0.6532 MB / 1.478 GB, free: 5.191 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 3.196e-06/0.6195, allocations: 0 / 1.478 GB, free: 5.191 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.004261/0.6237, allocations: 1.32 MB / 1.48 GB, free: 3.859 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000185/0.6239, allocations: 188.9 kB / 1.48 GB, free: 3.633 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008935/0.6248, allocations: 0.6017 MB / 1.481 GB, free: 3.023 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.853e-05/0.6249, allocations: 41.7 kB / 1.481 GB, free: 2.977 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003943/0.6253, allocations: 441 kB / 1.481 GB, free: 2.539 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/0.6256, allocations: 289.6 kB / 1.481 GB, free: 2.254 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.6258, allocations: 170.6 kB / 1.481 GB, free: 2.082 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.6261, allocations: 378.8 kB / 1.482 GB, free: 1.703 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008256/0.6269, allocations: 325.8 kB / 1.482 GB, free: 1.383 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.628, allocations: 0.5348 MB / 1.483 GB, free: 0.8047 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.6297, allocations: 0.7218 MB / 1.483 GB, free: 76 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6297, allocations: 0 / 1.483 GB, free: 76 kB / 1.17 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002845/0.6325, allocations: 0.9702 MB / 1.484 GB, free: 15.09 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.6326, allocations: 4 kB / 1.484 GB, free: 15.09 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6326, allocations: 8.094 kB / 1.484 GB, free: 15.08 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00068/0.6333, allocations: 80.77 kB / 1.484 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008944/0.6342, allocations: 191.7 kB / 1.485 GB, free: 14.81 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/0.6366, allocations: 1.496 MB / 1.486 GB, free: 13.2 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.6377, allocations: 111.5 kB / 1.486 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.544e-05/0.6377, allocations: 39.97 kB / 1.486 GB, free: 13.05 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.0005299/0.6383, allocations: 271.4 kB / 1.486 GB, free: 12.78 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.6385, allocations: 83.48 kB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003134/0.6416, allocations: 1.202 MB / 1.488 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/0.6416, allocations: 3.984 kB / 1.488 GB, free: 11.47 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.6416, allocations: 0 / 1.488 GB, free: 11.47 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.6421, allocations: 211 kB / 1.488 GB, free: 11.27 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.6422, allocations: 16 kB / 1.488 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007905/0.643, allocations: 91.84 kB / 1.488 GB, free: 11.16 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/0.6432, allocations: 76.8 kB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002852/0.646, allocations: 1.092 MB / 1.489 GB, free: 9.988 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003288/0.6493, allocations: 1.602 MB / 1.491 GB, free: 8.371 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008854/0.6502, allocations: 387.7 kB / 1.491 GB, free: 7.992 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006109/0.6508, allocations: 435 kB / 1.491 GB, free: 7.57 MB / 1.186 GB Notification: Performance of Backend: time 4.91e-07/0.6508, allocations: 0 / 1.491 GB, free: 7.57 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004745/0.6556, allocations: 1.359 MB / 1.493 GB, free: 6.469 MB / 1.186 GB Notification: Performance of SimCode: time 0.003608/0.6592, allocations: 2.171 MB / 1.495 GB, free: 4.262 MB / 1.186 GB Notification: Performance of Templates: time 0.03428/0.6934, allocations: 19.7 MB / 1.514 GB, free: 0.8281 MB / 1.201 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 -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: 10.115420727997844]