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.001697/0.001697, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002121/0.002121, allocations: 208.4 kB / 22.99 MB, free: 4.957 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.5/1.5, 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.175/3.175, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.00208/0.00208, allocations: 72.7 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.326, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01063/0.3366, allocations: 7.372 MB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1745/0.5111, allocations: 133.9 MB / 1.465 GB, free: 3.215 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.5125, allocations: 31.75 kB / 1.465 GB, free: 3.184 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009619/0.5135, allocations: 332.6 kB / 1.465 GB, free: 2.855 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.5166, allocations: 0.8789 MB / 1.466 GB, free: 1.977 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003294/0.5199, allocations: 1.402 MB / 1.468 GB, free: 0.5781 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003852/0.5237, allocations: 3.013 MB / 1.471 GB, free: 13.55 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.5255, allocations: 1.009 MB / 1.472 GB, free: 12.48 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.5272, allocations: 1.258 MB / 1.473 GB, free: 11.22 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.529, allocations: 1.354 MB / 1.474 GB, free: 9.863 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000459/0.5294, allocations: 332 kB / 1.474 GB, free: 9.539 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.5308, allocations: 0.7223 MB / 1.475 GB, free: 8.816 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006674/0.5315, allocations: 0.7049 MB / 1.476 GB, free: 8.109 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001227/0.5327, allocations: 1.097 MB / 1.477 GB, free: 7.008 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004482/0.5372, allocations: 3.744 MB / 1.48 GB, free: 3.25 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/0.5372, allocations: 4 kB / 1.481 GB, free: 3.246 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.336e-06/0.5372, allocations: 3.984 kB / 1.481 GB, free: 3.242 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.284e-05/0.5373, allocations: 0 / 1.481 GB, free: 3.242 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.006822/0.5441, allocations: 2.846 MB / 1.483 GB, free: 344 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.5441, allocations: 12.03 kB / 1.483 GB, free: 332 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02001/0.5641, allocations: 2.305 MB / 1.486 GB, free: 14.02 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002918/0.567, allocations: 1.238 MB / 1.487 GB, free: 12.74 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.5672, allocations: 172.5 kB / 1.487 GB, free: 12.57 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004513/0.5677, allocations: 216 kB / 1.487 GB, free: 12.36 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009621/0.5773, allocations: 3.537 MB / 1.491 GB, free: 8.668 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.136e-05/0.5773, allocations: 4 kB / 1.491 GB, free: 8.664 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002849/0.5776, allocations: 96 kB / 1.491 GB, free: 8.57 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.95e-05/0.5777, allocations: 59.94 kB / 1.491 GB, free: 8.512 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/0.5913, allocations: 4.139 MB / 1.495 GB, free: 4.355 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01688/0.6082, allocations: 6.112 MB / 1.501 GB, free: 14.16 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009148/0.6173, allocations: 2.702 MB / 1.503 GB, free: 11.45 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004491/0.6218, allocations: 1.356 MB / 1.505 GB, free: 10.09 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006259/0.6224, allocations: 113.9 kB / 1.505 GB, free: 9.977 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005428/0.6279, allocations: 1.945 MB / 1.507 GB, free: 7.988 MB / 1.201 GB Notification: Performance of pre-optimization done (n=213): time 4.85e-06/0.6279, allocations: 4 kB / 1.507 GB, free: 7.984 MB / 1.201 GB Notification: Performance of matching and sorting (n=213): time 0.01577/0.6436, allocations: 4.384 MB / 1.511 GB, free: 3.594 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.6438, allocations: 209.9 kB / 1.511 GB, free: 3.344 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.6451, allocations: 0.822 MB / 1.512 GB, free: 2.516 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002494/0.6453, allocations: 69.64 kB / 1.512 GB, free: 2.441 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007389/0.6461, allocations: 0.7717 MB / 1.513 GB, free: 1.66 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007804/0.6468, allocations: 0.7126 MB / 1.514 GB, free: 0.9414 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008515/0.6477, allocations: 399.2 kB / 1.514 GB, free: 0.543 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6478, allocations: 305.1 kB / 1.514 GB, free: 248 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004499/0.6523, allocations: 1.261 MB / 1.515 GB, free: 14.98 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004693/0.657, allocations: 1.567 MB / 1.517 GB, free: 13.36 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008916/0.6659, allocations: 2.606 MB / 1.519 GB, free: 10.73 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/0.6659, allocations: 0 / 1.519 GB, free: 10.73 MB / 1.217 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01073/0.6767, allocations: 3.121 MB / 1.523 GB, free: 7.602 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.6767, allocations: 4 kB / 1.523 GB, free: 7.598 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.6767, allocations: 4 kB / 1.523 GB, free: 7.594 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006721/0.6774, allocations: 88.75 kB / 1.523 GB, free: 7.508 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004064/0.6814, allocations: 0.6045 MB / 1.523 GB, free: 6.902 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.6837, allocations: 1.502 MB / 1.525 GB, free: 5.297 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003307/0.6871, allocations: 350.8 kB / 1.525 GB, free: 4.953 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002695/0.6873, allocations: 104 kB / 1.525 GB, free: 4.852 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.001045/0.6884, allocations: 448.7 kB / 1.526 GB, free: 4.402 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004309/0.6888, allocations: 147.1 kB / 1.526 GB, free: 4.258 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.701, allocations: 3.706 MB / 1.529 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.701, allocations: 24 kB / 1.529 GB, free: 0.5078 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.701, allocations: 0 / 1.529 GB, free: 0.5078 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-05/0.701, allocations: 11.95 kB / 1.529 GB, free: 0.4961 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/0.7044, allocations: 1.747 MB / 1.531 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.7044, allocations: 0 / 1.531 GB, free: 14.72 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00394/0.7083, allocations: 0.5656 MB / 1.532 GB, free: 14.15 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005427/0.7089, allocations: 72.78 kB / 1.532 GB, free: 14.08 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002977/0.7092, allocations: 71.91 kB / 1.532 GB, free: 14.01 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.7114, allocations: 1.536 MB / 1.533 GB, free: 12.36 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7114, allocations: 0 / 1.533 GB, free: 12.36 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/0.7226, allocations: 3.207 MB / 1.536 GB, free: 9.133 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/0.7239, allocations: 472 kB / 1.537 GB, free: 8.672 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003852/0.7243, allocations: 47.95 kB / 1.537 GB, free: 8.625 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003045/0.7274, allocations: 267.7 kB / 1.537 GB, free: 8.363 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/0.7277, allocations: 157.7 kB / 1.537 GB, free: 8.207 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002552/0.728, allocations: 95.84 kB / 1.537 GB, free: 8.113 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009664/0.7289, allocations: 0.6141 MB / 1.538 GB, free: 7.488 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.7289, allocations: 3.938 kB / 1.538 GB, free: 7.484 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001904/0.7308, allocations: 0.7012 MB / 1.539 GB, free: 6.781 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002355/0.7332, allocations: 0.7052 MB / 1.539 GB, free: 6.281 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01048/0.7437, allocations: 3.034 MB / 1.542 GB, free: 3.238 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7437, allocations: 4.062 kB / 1.542 GB, free: 3.234 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.005285/0.749, allocations: 1.622 MB / 1.544 GB, free: 1.598 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.7507, allocations: 359.5 kB / 1.544 GB, free: 1.262 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009551/0.7603, allocations: 4.135 MB / 1.548 GB, free: 13.09 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009715/0.7612, allocations: 0.8639 MB / 1.549 GB, free: 12.19 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002831/0.7641, allocations: 0.5629 MB / 1.55 GB, free: 11.62 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.7651, allocations: 235.2 kB / 1.55 GB, free: 11.39 MB / 1.248 GB Notification: Performance of SimCode: time 9.82e-07/0.7651, allocations: 3.938 kB / 1.55 GB, free: 11.38 MB / 1.248 GB Notification: Performance of Templates: time 0.05686/0.822, allocations: 33.5 MB / 1.583 GB, free: 10.19 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 -s gbode -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: 10.253871816996252]