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.0014/0.0014, allocations: 105.4 kB / 16.45 MB, free: 6.453 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.001465/0.001465, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.565/1.565, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.186/3.186, allocations: 0.49 GB / 0.7915 GB, free: 33.31 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.002068/0.002068, allocations: 70.7 kB / 1.149 GB, free: 25.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3625, allocations: 176.1 MB / 1.321 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007004/0.3695, allocations: 4.902 MB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1936/0.5631, allocations: 154 MB / 1.476 GB, free: 3.258 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000991/0.564, allocations: 23.81 kB / 1.476 GB, free: 3.234 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006939/0.5647, allocations: 194.2 kB / 1.477 GB, free: 3.043 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.5667, allocations: 0.5626 MB / 1.477 GB, free: 2.48 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.5689, allocations: 0.8525 MB / 1.478 GB, free: 1.633 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001816/0.5707, allocations: 1.401 MB / 1.479 GB, free: 232 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008353/0.5716, allocations: 409.4 kB / 1.48 GB, free: 15.8 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008644/0.5724, allocations: 0.51 MB / 1.48 GB, free: 15.29 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000791/0.5732, allocations: 0.5032 MB / 1.481 GB, free: 14.79 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.5734, allocations: 120 kB / 1.481 GB, free: 14.67 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.5744, allocations: 0.5074 MB / 1.481 GB, free: 14.16 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003092/0.5747, allocations: 299 kB / 1.482 GB, free: 13.87 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005584/0.5753, allocations: 0.5558 MB / 1.482 GB, free: 13.31 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.5774, allocations: 1.677 MB / 1.484 GB, free: 11.62 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5774, allocations: 0 / 1.484 GB, free: 11.62 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5774, allocations: 7.938 kB / 1.484 GB, free: 11.62 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.5774, allocations: 0 / 1.484 GB, free: 11.62 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002702/0.5801, allocations: 1.486 MB / 1.485 GB, free: 10.08 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.5801, allocations: 12.03 kB / 1.485 GB, free: 10.07 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.5816, allocations: 232 kB / 1.486 GB, free: 9.844 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.5829, allocations: 0.7825 MB / 1.486 GB, free: 9.02 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.583, allocations: 66 kB / 1.486 GB, free: 8.953 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.5831, allocations: 80 kB / 1.486 GB, free: 8.875 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.5847, allocations: 0.9183 MB / 1.487 GB, free: 7.918 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.5848, allocations: 3.984 kB / 1.487 GB, free: 7.914 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/0.5849, allocations: 36 kB / 1.487 GB, free: 7.879 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.5849, allocations: 20 kB / 1.487 GB, free: 7.859 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.5868, allocations: 1.104 MB / 1.488 GB, free: 6.75 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004466/0.5913, allocations: 2.729 MB / 1.491 GB, free: 3.895 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.5929, allocations: 0.7589 MB / 1.492 GB, free: 3.129 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.5934, allocations: 282.6 kB / 1.492 GB, free: 2.844 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-05/0.5935, allocations: 24.69 kB / 1.492 GB, free: 2.82 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000919/0.5944, allocations: 499.1 kB / 1.493 GB, free: 2.312 MB / 1.186 GB Notification: Performance of pre-optimization done (n=80): time 2.675e-06/0.5944, allocations: 0 / 1.493 GB, free: 2.312 MB / 1.186 GB Notification: Performance of matching and sorting (n=80): time 0.003544/0.598, allocations: 1.202 MB / 1.494 GB, free: 1.086 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.5981, allocations: 188.6 kB / 1.494 GB, free: 0.8594 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009378/0.5991, allocations: 0.6605 MB / 1.495 GB, free: 196 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.149e-05/0.5991, allocations: 37.7 kB / 1.495 GB, free: 152 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/0.5995, allocations: 409.1 kB / 1.495 GB, free: 15.74 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.5998, allocations: 273.6 kB / 1.495 GB, free: 15.47 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002729/0.6001, allocations: 166.6 kB / 1.495 GB, free: 15.3 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002303/0.6003, allocations: 390.7 kB / 1.496 GB, free: 14.91 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005597/0.6009, allocations: 265.9 kB / 1.496 GB, free: 14.65 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006876/0.6016, allocations: 375 kB / 1.496 GB, free: 14.27 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.6028, allocations: 0.5994 MB / 1.497 GB, free: 13.66 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6028, allocations: 0 / 1.497 GB, free: 13.66 MB / 1.201 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002179/0.6049, allocations: 0.8648 MB / 1.498 GB, free: 12.79 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.605, allocations: 8.094 kB / 1.498 GB, free: 12.78 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.605, allocations: 0 / 1.498 GB, free: 12.78 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006266/0.6056, allocations: 80.78 kB / 1.498 GB, free: 12.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.6063, allocations: 167.7 kB / 1.498 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002351/0.6086, allocations: 1.619 MB / 1.5 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007924/0.6094, allocations: 99.73 kB / 1.5 GB, free: 10.67 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.093e-05/0.6095, allocations: 39.97 kB / 1.5 GB, free: 10.63 MB / 1.201 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.000482/0.61, allocations: 271.4 kB / 1.5 GB, free: 10.35 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.6102, allocations: 91.44 kB / 1.5 GB, free: 10.26 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002509/0.6127, allocations: 1.05 MB / 1.501 GB, free: 9.195 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.6127, allocations: 12 kB / 1.501 GB, free: 9.184 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6127, allocations: 3.938 kB / 1.501 GB, free: 9.18 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.6127, allocations: 3.984 kB / 1.501 GB, free: 9.176 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.6139, allocations: 0.8959 MB / 1.502 GB, free: 8.23 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6139, allocations: 0 / 1.502 GB, free: 8.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006088/0.6145, allocations: 147.7 kB / 1.502 GB, free: 8.086 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000462/0.615, allocations: 72.78 kB / 1.502 GB, free: 8.012 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-05/0.6151, allocations: 27.97 kB / 1.502 GB, free: 7.984 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.6173, allocations: 1.666 MB / 1.504 GB, free: 6.176 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6173, allocations: 0 / 1.504 GB, free: 6.176 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.6195, allocations: 0.9244 MB / 1.505 GB, free: 5.227 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/0.6199, allocations: 284.2 kB / 1.505 GB, free: 4.93 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.6201, allocations: 16 kB / 1.505 GB, free: 4.914 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/0.6207, allocations: 67.92 kB / 1.505 GB, free: 4.848 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.6209, allocations: 68.91 kB / 1.505 GB, free: 4.781 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.396e-05/0.6209, allocations: 35.91 kB / 1.505 GB, free: 4.746 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006776/0.6216, allocations: 475 kB / 1.506 GB, free: 4.285 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6216, allocations: 3.938 kB / 1.506 GB, free: 4.281 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009034/0.6225, allocations: 327.2 kB / 1.506 GB, free: 3.961 MB / 1.201 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.002035/0.6246, allocations: 0.6143 MB / 1.507 GB, free: 3.523 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001972/0.6265, allocations: 0.7999 MB / 1.507 GB, free: 2.711 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.6265, allocations: 0 / 1.507 GB, free: 2.711 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.6276, allocations: 0.4964 MB / 1.508 GB, free: 2.199 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.629, allocations: 299.5 kB / 1.508 GB, free: 1.934 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/0.6325, allocations: 1.664 MB / 1.51 GB, free: 248 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007398/0.6333, allocations: 1.031 MB / 1.511 GB, free: 15.18 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000825/0.6341, allocations: 254.8 kB / 1.511 GB, free: 14.93 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.6344, allocations: 115.4 kB / 1.511 GB, free: 14.82 MB / 1.217 GB Notification: Performance of SimCode: time 1.603e-06/0.6344, allocations: 0 / 1.511 GB, free: 14.82 MB / 1.217 GB Notification: Performance of Templates: time 0.0285/0.6629, allocations: 15.48 MB / 1.526 GB, free: 15.54 MB / 1.232 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 -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/jenkins/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: 9.753463003784418]