Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.001337/0.001337, allocations: 104.2 kB / 19.71 MB, free: 2.141 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.001446/0.001446, allocations: 214.7 kB / 23 MB, free: 4.961 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.502/1.502, 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.411/3.411, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [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: 65.88 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3853, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01202/0.3973, allocations: 7.384 MB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2008/0.5981, allocations: 133.9 MB / 1.465 GB, free: 3.156 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001875/0.6, allocations: 31.81 kB / 1.465 GB, free: 3.125 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.6012, allocations: 332.6 kB / 1.465 GB, free: 2.797 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003795/0.605, allocations: 0.8824 MB / 1.466 GB, free: 1.914 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003968/0.609, allocations: 1.389 MB / 1.468 GB, free: 0.5312 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004927/0.6139, allocations: 3.013 MB / 1.471 GB, free: 13.51 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.616, allocations: 1.009 MB / 1.472 GB, free: 12.44 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002246/0.6183, allocations: 1.262 MB / 1.473 GB, free: 11.17 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002026/0.6203, allocations: 1.356 MB / 1.474 GB, free: 9.812 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000569/0.6209, allocations: 328 kB / 1.474 GB, free: 9.492 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.6226, allocations: 0.7222 MB / 1.475 GB, free: 8.77 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007061/0.6233, allocations: 0.705 MB / 1.476 GB, free: 8.062 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001433/0.6247, allocations: 1.097 MB / 1.477 GB, free: 6.961 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004998/0.6297, allocations: 3.748 MB / 1.481 GB, free: 3.199 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.6297, allocations: 0 / 1.481 GB, free: 3.199 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6297, allocations: 0 / 1.481 GB, free: 3.199 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.334e-05/0.6298, allocations: 0 / 1.481 GB, free: 3.199 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.007209/0.637, allocations: 2.845 MB / 1.483 GB, free: 300 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.637, allocations: 8.031 kB / 1.483 GB, free: 292 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01968/0.6567, allocations: 2.313 MB / 1.486 GB, free: 13.97 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00352/0.6602, allocations: 1.238 MB / 1.487 GB, free: 12.7 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.6604, allocations: 168.5 kB / 1.487 GB, free: 12.53 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006684/0.6611, allocations: 224 kB / 1.487 GB, free: 12.31 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.6713, allocations: 3.529 MB / 1.491 GB, free: 8.625 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.855e-05/0.6714, allocations: 3.984 kB / 1.491 GB, free: 8.621 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003005/0.6717, allocations: 92 kB / 1.491 GB, free: 8.531 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.6717, allocations: 56 kB / 1.491 GB, free: 8.477 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/0.6859, allocations: 4.143 MB / 1.495 GB, free: 4.316 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01847/0.7043, allocations: 6.124 MB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009249/0.7136, allocations: 2.71 MB / 1.503 GB, free: 11.39 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0046/0.7182, allocations: 1.352 MB / 1.505 GB, free: 10.03 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000662/0.7189, allocations: 113.9 kB / 1.505 GB, free: 9.922 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005709/0.7246, allocations: 1.952 MB / 1.507 GB, free: 7.926 MB / 1.201 GB Notification: Performance of pre-optimization done (n=213): time 5.391e-06/0.7246, allocations: 0 / 1.507 GB, free: 7.926 MB / 1.201 GB Notification: Performance of matching and sorting (n=213): time 0.01654/0.7411, allocations: 4.384 MB / 1.511 GB, free: 3.535 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.7412, allocations: 209.8 kB / 1.511 GB, free: 3.285 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.7426, allocations: 0.8219 MB / 1.512 GB, free: 2.457 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003903/0.743, allocations: 61.7 kB / 1.512 GB, free: 2.391 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000735/0.7437, allocations: 0.7758 MB / 1.513 GB, free: 1.605 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009017/0.7446, allocations: 0.7087 MB / 1.514 GB, free: 0.8906 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008456/0.7455, allocations: 399.2 kB / 1.514 GB, free: 0.4922 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.7456, allocations: 301.1 kB / 1.514 GB, free: 200 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004499/0.7501, allocations: 1.261 MB / 1.515 GB, free: 14.93 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005067/0.7552, allocations: 1.563 MB / 1.517 GB, free: 13.32 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009632/0.7648, allocations: 2.61 MB / 1.519 GB, free: 10.69 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.7648, allocations: 0 / 1.519 GB, free: 10.69 MB / 1.217 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01138/0.7762, allocations: 3.117 MB / 1.523 GB, free: 7.559 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.7762, allocations: 7.938 kB / 1.523 GB, free: 7.551 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.7762, allocations: 8.062 kB / 1.523 GB, free: 7.543 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006831/0.7769, allocations: 84.77 kB / 1.523 GB, free: 7.457 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004313/0.7812, allocations: 0.6045 MB / 1.523 GB, free: 6.852 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/0.7835, allocations: 1.514 MB / 1.525 GB, free: 5.234 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003518/0.787, allocations: 342.8 kB / 1.525 GB, free: 4.898 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003184/0.7874, allocations: 99.89 kB / 1.525 GB, free: 4.801 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.001128/0.7885, allocations: 448.5 kB / 1.526 GB, free: 4.352 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/0.7889, allocations: 147.1 kB / 1.526 GB, free: 4.207 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/0.8014, allocations: 3.702 MB / 1.529 GB, free: 496 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.851e-05/0.8014, allocations: 19.89 kB / 1.529 GB, free: 476 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.8014, allocations: 0 / 1.529 GB, free: 476 kB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/0.8029, allocations: 468 kB / 1.53 GB, free: 4 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004198/0.8033, allocations: 59.88 kB / 1.53 GB, free: 15.95 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003046/0.8064, allocations: 261.3 kB / 1.53 GB, free: 15.69 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003337/0.8067, allocations: 161.8 kB / 1.53 GB, free: 15.53 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01369/0.8204, allocations: 3.431 MB / 1.534 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0158/0.8362, allocations: 5.061 MB / 1.539 GB, free: 7.016 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004749/0.841, allocations: 1.386 MB / 1.54 GB, free: 5.633 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001147/0.8421, allocations: 0.6141 MB / 1.54 GB, free: 5.008 MB / 1.232 GB Notification: Performance of Backend: time 5.81e-07/0.8421, allocations: 0 / 1.54 GB, free: 5.008 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01022/0.8523, allocations: 2.523 MB / 1.543 GB, free: 2.738 MB / 1.232 GB Notification: Performance of SimCode: time 0.007185/0.8595, allocations: 3.524 MB / 1.546 GB, free: 15.16 MB / 1.248 GB Notification: Performance of Templates: time 0.07593/0.9354, allocations: 45.76 MB / 1.591 GB, free: 1.762 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.161364497995237]