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.00137/0.00137, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001565/0.001565, allocations: 214.1 kB / 22.24 MB, free: 5.262 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.785 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.502/3.502, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 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.002142/0.002142, allocations: 72.89 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3857, allocations: 176.1 MB / 1.326 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00712/0.3928, allocations: 4.419 MB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1967/0.5895, allocations: 132.7 MB / 1.459 GB, free: 8.266 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.5907, allocations: 27.81 kB / 1.459 GB, free: 8.238 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.5918, allocations: 202.2 kB / 1.46 GB, free: 8.039 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002899/0.5947, allocations: 0.5546 MB / 1.46 GB, free: 7.484 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002685/0.5973, allocations: 0.8612 MB / 1.461 GB, free: 6.629 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002425/0.5998, allocations: 1.397 MB / 1.462 GB, free: 5.227 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.6009, allocations: 397.9 kB / 1.463 GB, free: 4.812 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.6022, allocations: 0.4944 MB / 1.463 GB, free: 4.316 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.6033, allocations: 465.7 kB / 1.464 GB, free: 3.859 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003949/0.6037, allocations: 124 kB / 1.464 GB, free: 3.738 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.6052, allocations: 491.7 kB / 1.464 GB, free: 3.258 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004996/0.6057, allocations: 299.1 kB / 1.465 GB, free: 2.965 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008669/0.6065, allocations: 461.8 kB / 1.465 GB, free: 2.512 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003291/0.6098, allocations: 1.685 MB / 1.467 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.6098, allocations: 0 / 1.467 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.555e-06/0.6098, allocations: 4 kB / 1.467 GB, free: 0.8164 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.774e-05/0.6099, allocations: 0 / 1.467 GB, free: 0.8164 MB / 1.154 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.00431/0.6142, allocations: 1.407 MB / 1.468 GB, free: 15.38 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.6143, allocations: 12.03 kB / 1.468 GB, free: 15.36 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001851/0.6161, allocations: 240 kB / 1.468 GB, free: 15.13 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.618, allocations: 0.7065 MB / 1.469 GB, free: 14.39 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.386e-05/0.6181, allocations: 69.98 kB / 1.469 GB, free: 14.32 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.6183, allocations: 76 kB / 1.469 GB, free: 14.25 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.6205, allocations: 1.169 MB / 1.47 GB, free: 12.98 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.6206, allocations: 0 / 1.47 GB, free: 12.98 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-05/0.6207, allocations: 32 kB / 1.47 GB, free: 12.95 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.6207, allocations: 23.94 kB / 1.47 GB, free: 12.93 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.6226, allocations: 1.061 MB / 1.471 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004173/0.6268, allocations: 2.087 MB / 1.473 GB, free: 9.723 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.6284, allocations: 0.7482 MB / 1.474 GB, free: 8.965 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005382/0.6289, allocations: 278.7 kB / 1.474 GB, free: 8.691 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.302e-05/0.629, allocations: 28.77 kB / 1.474 GB, free: 8.664 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.6301, allocations: 0.5839 MB / 1.475 GB, free: 8.035 MB / 1.17 GB Notification: Performance of pre-optimization done (n=80): time 2.715e-06/0.6301, allocations: 0 / 1.475 GB, free: 8.035 MB / 1.17 GB Notification: Performance of matching and sorting (n=80): time 0.003375/0.6334, allocations: 1.119 MB / 1.476 GB, free: 6.906 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/0.6336, allocations: 192.6 kB / 1.476 GB, free: 6.676 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000953/0.6346, allocations: 0.6057 MB / 1.477 GB, free: 6.062 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.6346, allocations: 45.69 kB / 1.477 GB, free: 6.012 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.635, allocations: 417 kB / 1.477 GB, free: 5.598 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.6353, allocations: 269.8 kB / 1.478 GB, free: 5.332 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.6356, allocations: 162.6 kB / 1.478 GB, free: 5.168 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002573/0.6359, allocations: 386.7 kB / 1.478 GB, free: 4.781 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/0.6364, allocations: 269.8 kB / 1.478 GB, free: 4.516 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007838/0.6372, allocations: 491.6 kB / 1.479 GB, free: 3.992 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.6385, allocations: 0.6072 MB / 1.479 GB, free: 3.375 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.6385, allocations: 0 / 1.479 GB, free: 3.375 MB / 1.17 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002099/0.6406, allocations: 0.857 MB / 1.48 GB, free: 2.504 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.6406, allocations: 9.719 kB / 1.48 GB, free: 2.496 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.6406, allocations: 0 / 1.48 GB, free: 2.496 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006323/0.6412, allocations: 80.83 kB / 1.48 GB, free: 2.414 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.6419, allocations: 163.8 kB / 1.48 GB, free: 2.254 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.6446, allocations: 1.503 MB / 1.482 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008688/0.6455, allocations: 87.62 kB / 1.482 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.048e-05/0.6456, allocations: 39.97 kB / 1.482 GB, free: 0.5234 MB / 1.17 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.0005986/0.6462, allocations: 265.5 kB / 1.482 GB, free: 260 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.6464, allocations: 87.38 kB / 1.482 GB, free: 172 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.6489, allocations: 1.054 MB / 1.483 GB, free: 15.1 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.6489, allocations: 8 kB / 1.483 GB, free: 15.09 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.6489, allocations: 0 / 1.483 GB, free: 15.09 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.6489, allocations: 3.984 kB / 1.483 GB, free: 15.09 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.65, allocations: 0.6458 MB / 1.484 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.65, allocations: 0 / 1.484 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006504/0.6506, allocations: 151.8 kB / 1.484 GB, free: 14.27 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004357/0.6511, allocations: 72.72 kB / 1.484 GB, free: 14.19 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.929e-05/0.6511, allocations: 23.98 kB / 1.484 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.6533, allocations: 1.525 MB / 1.486 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6533, allocations: 4.062 kB / 1.486 GB, free: 12.53 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.6557, allocations: 0.9282 MB / 1.487 GB, free: 11.58 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005106/0.6562, allocations: 195.1 kB / 1.487 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.6563, allocations: 19.94 kB / 1.487 GB, free: 11.37 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005902/0.6569, allocations: 63.92 kB / 1.487 GB, free: 11.31 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.6571, allocations: 72.86 kB / 1.487 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/0.6572, allocations: 31.98 kB / 1.487 GB, free: 11.2 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006613/0.6578, allocations: 443 kB / 1.487 GB, free: 10.77 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6578, allocations: 0 / 1.487 GB, free: 10.77 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009867/0.6588, allocations: 335.1 kB / 1.488 GB, free: 10.45 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.002191/0.661, allocations: 0.64 MB / 1.488 GB, free: 10.01 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.6629, allocations: 0.8001 MB / 1.489 GB, free: 9.199 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.6629, allocations: 0 / 1.489 GB, free: 9.199 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009664/0.6639, allocations: 496.2 kB / 1.49 GB, free: 8.703 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.6652, allocations: 296.7 kB / 1.49 GB, free: 8.434 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.6688, allocations: 1.671 MB / 1.492 GB, free: 6.73 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005549/0.6694, allocations: 441.9 kB / 1.492 GB, free: 6.266 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000905/0.6703, allocations: 258.5 kB / 1.492 GB, free: 6.008 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.6706, allocations: 107.4 kB / 1.492 GB, free: 5.902 MB / 1.186 GB Notification: Performance of SimCode: time 1.273e-06/0.6706, allocations: 0 / 1.492 GB, free: 5.902 MB / 1.186 GB Notification: Performance of Templates: time 0.03036/0.7009, allocations: 16.19 MB / 1.508 GB, free: 5.996 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 -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: 10.595010926946998]