Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.001864/0.001864, 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.002368/0.002368, allocations: 210.9 kB / 22.99 MB, free: 4.984 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.556/1.556, 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.247/3.247, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [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.002146/0.002146, allocations: 66.33 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3869, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.008123/0.3951, allocations: 4.427 MB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1824/0.5774, allocations: 132.7 MB / 1.461 GB, free: 7.379 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009065/0.5784, allocations: 23.81 kB / 1.461 GB, free: 7.355 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006514/0.579, allocations: 198.2 kB / 1.461 GB, free: 7.16 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.5809, allocations: 0.5716 MB / 1.462 GB, free: 6.59 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.583, allocations: 0.8568 MB / 1.463 GB, free: 5.738 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001765/0.5848, allocations: 1.394 MB / 1.464 GB, free: 4.34 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007759/0.5856, allocations: 414 kB / 1.464 GB, free: 3.91 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007969/0.5864, allocations: 0.5022 MB / 1.465 GB, free: 3.406 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006414/0.587, allocations: 0.5056 MB / 1.465 GB, free: 2.898 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.5872, allocations: 116 kB / 1.465 GB, free: 2.785 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.5883, allocations: 0.4957 MB / 1.466 GB, free: 2.289 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003308/0.5886, allocations: 303 kB / 1.466 GB, free: 1.992 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005026/0.5891, allocations: 461.8 kB / 1.467 GB, free: 1.539 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002319/0.5914, allocations: 1.677 MB / 1.468 GB, free: 15.85 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5914, allocations: 4 kB / 1.468 GB, free: 15.85 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5914, allocations: 0 / 1.468 GB, free: 15.85 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.5914, allocations: 4 kB / 1.468 GB, free: 15.84 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002997/0.5944, allocations: 1.415 MB / 1.47 GB, free: 14.4 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.5945, allocations: 8.031 kB / 1.47 GB, free: 14.39 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.5961, allocations: 236 kB / 1.47 GB, free: 14.16 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.5976, allocations: 0.7104 MB / 1.471 GB, free: 13.42 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-05/0.5976, allocations: 66 kB / 1.471 GB, free: 13.36 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.5978, allocations: 76 kB / 1.471 GB, free: 13.28 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.5997, allocations: 1.173 MB / 1.472 GB, free: 12.01 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.5997, allocations: 7.922 kB / 1.472 GB, free: 12 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.382e-05/0.5998, allocations: 36 kB / 1.472 GB, free: 11.96 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.5998, allocations: 24 kB / 1.472 GB, free: 11.94 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.6018, allocations: 1.057 MB / 1.473 GB, free: 10.88 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004281/0.6061, allocations: 2.079 MB / 1.475 GB, free: 8.75 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.6076, allocations: 0.7534 MB / 1.476 GB, free: 7.988 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.6082, allocations: 282.6 kB / 1.476 GB, free: 7.711 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-05/0.6083, allocations: 28.81 kB / 1.476 GB, free: 7.684 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.6093, allocations: 0.5761 MB / 1.477 GB, free: 7.062 MB / 1.17 GB Notification: Performance of pre-optimization done (n=80): time 3.196e-06/0.6093, allocations: 4 kB / 1.477 GB, free: 7.059 MB / 1.17 GB Notification: Performance of matching and sorting (n=80): time 0.003592/0.6129, allocations: 1.119 MB / 1.478 GB, free: 5.93 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.613, allocations: 192.6 kB / 1.478 GB, free: 5.699 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009014/0.6139, allocations: 0.6095 MB / 1.478 GB, free: 5.082 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.762e-05/0.614, allocations: 41.7 kB / 1.478 GB, free: 5.035 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.6143, allocations: 417 kB / 1.479 GB, free: 4.621 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002494/0.6146, allocations: 273.6 kB / 1.479 GB, free: 4.352 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.6149, allocations: 162.6 kB / 1.479 GB, free: 4.188 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.6151, allocations: 386.7 kB / 1.48 GB, free: 3.801 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005657/0.6156, allocations: 265.9 kB / 1.48 GB, free: 3.539 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007852/0.6164, allocations: 0.4917 MB / 1.48 GB, free: 3.004 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.6176, allocations: 0.5956 MB / 1.481 GB, free: 2.398 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.6176, allocations: 0 / 1.481 GB, free: 2.398 MB / 1.17 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002324/0.62, allocations: 0.8531 MB / 1.482 GB, free: 1.531 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.62, allocations: 8 kB / 1.482 GB, free: 1.523 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.62, allocations: 3.984 kB / 1.482 GB, free: 1.52 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007427/0.6207, allocations: 76.84 kB / 1.482 GB, free: 1.441 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007424/0.6215, allocations: 167.7 kB / 1.482 GB, free: 1.277 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002429/0.6239, allocations: 1.499 MB / 1.484 GB, free: 15.67 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000871/0.6248, allocations: 85.83 kB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.6249, allocations: 40.16 kB / 1.484 GB, free: 15.55 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 (95): * Single equations (assignments): 94 * 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.0005506/0.6254, allocations: 271.9 kB / 1.484 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.6256, allocations: 91.36 kB / 1.484 GB, free: 15.18 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/0.6283, allocations: 1.05 MB / 1.485 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.6283, allocations: 8 kB / 1.485 GB, free: 14.12 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.6283, allocations: 4 kB / 1.485 GB, free: 14.11 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.6283, allocations: 7.922 kB / 1.485 GB, free: 14.11 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.6293, allocations: 0.638 MB / 1.486 GB, free: 13.44 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.6293, allocations: 3.938 kB / 1.486 GB, free: 13.43 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006352/0.6299, allocations: 143.8 kB / 1.486 GB, free: 13.29 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005052/0.6305, allocations: 72.78 kB / 1.486 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/0.6305, allocations: 27.97 kB / 1.486 GB, free: 13.19 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.6326, allocations: 1.533 MB / 1.487 GB, free: 11.55 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6326, allocations: 0 / 1.487 GB, free: 11.55 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.6348, allocations: 0.9244 MB / 1.488 GB, free: 10.61 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004897/0.6353, allocations: 195.1 kB / 1.488 GB, free: 10.41 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.6354, allocations: 16 kB / 1.488 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006582/0.6361, allocations: 59.94 kB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.6362, allocations: 76.86 kB / 1.489 GB, free: 10.26 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/0.6363, allocations: 35.97 kB / 1.489 GB, free: 10.23 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006155/0.6369, allocations: 439 kB / 1.489 GB, free: 9.801 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6369, allocations: 0 / 1.489 GB, free: 9.801 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001014/0.6379, allocations: 339 kB / 1.489 GB, free: 9.469 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.002247/0.6402, allocations: 0.6474 MB / 1.49 GB, free: 9.027 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.6421, allocations: 0.7922 MB / 1.491 GB, free: 8.227 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6421, allocations: 0 / 1.491 GB, free: 8.227 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009923/0.6431, allocations: 0.4925 MB / 1.491 GB, free: 7.723 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.6445, allocations: 286.4 kB / 1.492 GB, free: 7.465 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.6477, allocations: 1.674 MB / 1.493 GB, free: 5.754 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.6482, allocations: 439.6 kB / 1.494 GB, free: 5.289 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008829/0.6491, allocations: 262.5 kB / 1.494 GB, free: 5.027 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.6494, allocations: 103.4 kB / 1.494 GB, free: 4.926 MB / 1.186 GB Notification: Performance of SimCode: time 1.112e-06/0.6494, allocations: 0 / 1.494 GB, free: 4.926 MB / 1.186 GB Notification: Performance of Templates: time 0.02958/0.679, allocations: 16.43 MB / 1.51 GB, free: 4.785 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.238455247003003]