Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.001335/0.001335, allocations: 96.2 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.001473/0.001473, allocations: 211.5 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.281/3.281, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HGloRoo.H|HGloWal.H|HGloFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") [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.002103/0.002103, allocations: 65.59 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.381, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.01469/0.3957, allocations: 10.21 MB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.194/0.5897, allocations: 134.7 MB / 1.469 GB, free: 15.55 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002194/0.5919, allocations: 35.75 kB / 1.469 GB, free: 15.51 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.5932, allocations: 451.3 kB / 1.469 GB, free: 15.07 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004219/0.5974, allocations: 1.202 MB / 1.47 GB, free: 13.86 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003907/0.6013, allocations: 1.684 MB / 1.472 GB, free: 12.18 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006109/0.6074, allocations: 4.223 MB / 1.476 GB, free: 7.941 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/0.6103, allocations: 1.599 MB / 1.478 GB, free: 6.27 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00294/0.6132, allocations: 1.85 MB / 1.479 GB, free: 4.414 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003037/0.6163, allocations: 1.977 MB / 1.481 GB, free: 2.43 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001039/0.6173, allocations: 0.5508 MB / 1.482 GB, free: 1.879 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.6194, allocations: 0.9566 MB / 1.483 GB, free: 0.9219 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.6204, allocations: 1.067 MB / 1.484 GB, free: 15.85 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002214/0.6226, allocations: 1.685 MB / 1.485 GB, free: 14.16 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.007441/0.6301, allocations: 5.976 MB / 1.491 GB, free: 8.164 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6301, allocations: 0 / 1.491 GB, free: 8.164 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6301, allocations: 0 / 1.491 GB, free: 8.164 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001121/0.6302, allocations: 0 / 1.491 GB, free: 8.164 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 875 * Number of variables: 875 Notification: Performance of Generate backend data structure: time 0.009718/0.6399, allocations: 3.854 MB / 1.495 GB, free: 4.246 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.64, allocations: 8.031 kB / 1.495 GB, free: 4.238 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02161/0.6616, allocations: 2.53 MB / 1.498 GB, free: 1.703 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004197/0.6658, allocations: 1.702 MB / 1.499 GB, free: 15.95 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.666, allocations: 258.9 kB / 1.499 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009057/0.6669, allocations: 328 kB / 1.5 GB, free: 15.38 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01424/0.6812, allocations: 4.712 MB / 1.504 GB, free: 10.55 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.28e-05/0.6813, allocations: 0 / 1.504 GB, free: 10.55 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000605/0.6819, allocations: 136 kB / 1.504 GB, free: 10.41 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.382e-05/0.6819, allocations: 84 kB / 1.505 GB, free: 10.33 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/0.6979, allocations: 5.081 MB / 1.51 GB, free: 5.242 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02263/0.7205, allocations: 9.006 MB / 1.518 GB, free: 12.16 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00978/0.7303, allocations: 3.171 MB / 1.521 GB, free: 8.973 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004883/0.7352, allocations: 1.581 MB / 1.523 GB, free: 7.391 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006423/0.7359, allocations: 125.8 kB / 1.523 GB, free: 7.27 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005883/0.7417, allocations: 2.251 MB / 1.525 GB, free: 4.977 MB / 1.217 GB Notification: Performance of pre-optimization done (n=249): time 6.221e-06/0.7417, allocations: 0 / 1.525 GB, free: 4.977 MB / 1.217 GB Notification: Performance of matching and sorting (n=249): time 0.01661/0.7584, allocations: 5.102 MB / 1.53 GB, free: 15.87 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.7585, allocations: 217.8 kB / 1.53 GB, free: 15.61 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.7602, allocations: 1.038 MB / 1.531 GB, free: 14.55 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004341/0.7607, allocations: 69.7 kB / 1.532 GB, free: 14.48 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.7618, allocations: 1.185 MB / 1.533 GB, free: 13.28 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001146/0.7629, allocations: 0.8366 MB / 1.534 GB, free: 12.44 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009414/0.7639, allocations: 468 kB / 1.534 GB, free: 11.97 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.764, allocations: 301.1 kB / 1.534 GB, free: 11.68 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004698/0.7687, allocations: 1.476 MB / 1.536 GB, free: 10.2 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005406/0.7741, allocations: 1.808 MB / 1.537 GB, free: 8.32 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01067/0.7848, allocations: 3.07 MB / 1.54 GB, free: 5.199 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.7848, allocations: 64 / 1.54 GB, free: 5.199 MB / 1.232 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01311/0.7979, allocations: 3.645 MB / 1.544 GB, free: 1.504 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/0.798, allocations: 11.98 kB / 1.544 GB, free: 1.492 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.798, allocations: 0 / 1.544 GB, free: 1.492 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007095/0.7987, allocations: 84.84 kB / 1.544 GB, free: 1.406 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004765/0.8034, allocations: 0.6747 MB / 1.545 GB, free: 0.7305 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003053/0.8065, allocations: 1.508 MB / 1.546 GB, free: 15.11 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004056/0.8106, allocations: 390.6 kB / 1.547 GB, free: 14.73 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004982/0.8111, allocations: 111.9 kB / 1.547 GB, free: 14.62 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 35 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HGloWal.HDirTil.incAng.decAng.tNext,$PRE.HGloWal.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,$PRE.HGloWal.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,$PRE.HGloFlo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,$PRE.HGloFlo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,$PRE.HGloRoo.HDirTil.incAng.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,$PRE.HGloRoo.HDifTil.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 283 * 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.001828/0.8129, allocations: 0.6113 MB / 1.547 GB, free: 14 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007467/0.8136, allocations: 182.8 kB / 1.547 GB, free: 13.82 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/0.8272, allocations: 4.331 MB / 1.552 GB, free: 9.426 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.321e-05/0.8273, allocations: 11.95 kB / 1.552 GB, free: 9.414 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.8273, allocations: 0 / 1.552 GB, free: 9.414 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/0.829, allocations: 0.6018 MB / 1.552 GB, free: 8.809 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004633/0.8295, allocations: 59.89 kB / 1.552 GB, free: 8.75 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00324/0.8327, allocations: 293.5 kB / 1.553 GB, free: 8.465 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004/0.8331, allocations: 185.9 kB / 1.553 GB, free: 8.281 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01418/0.8473, allocations: 3.954 MB / 1.557 GB, free: 4.273 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01737/0.8647, allocations: 5.909 MB / 1.562 GB, free: 14.29 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005067/0.8698, allocations: 1.618 MB / 1.564 GB, free: 12.65 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001389/0.8712, allocations: 0.7848 MB / 1.565 GB, free: 11.86 MB / 1.264 GB Notification: Performance of Backend: time 4.21e-07/0.8712, allocations: 0 / 1.565 GB, free: 11.86 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01054/0.8817, allocations: 2.807 MB / 1.568 GB, free: 9.309 MB / 1.264 GB Notification: Performance of SimCode: time 0.009352/0.8911, allocations: 4.687 MB / 1.572 GB, free: 4.582 MB / 1.264 GB Notification: Performance of Templates: time 0.7558/1.647, allocations: 54.61 MB / 1.625 GB, free: 270.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_GlobalPerezTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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: 11.830746193001687]