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.001607/0.001607, allocations: 104.3 kB / 19.7 MB, free: 2.129 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.001714/0.001714, allocations: 211.4 kB / 22.99 MB, free: 4.938 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.176/3.176, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.002079/0.002079, allocations: 70.64 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.339, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01045/0.3495, allocations: 7.392 MB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1754/0.5249, allocations: 133.9 MB / 1.465 GB, free: 3.168 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.5262, allocations: 27.81 kB / 1.465 GB, free: 3.141 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000971/0.5272, allocations: 336.6 kB / 1.465 GB, free: 2.809 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.53, allocations: 0.8721 MB / 1.466 GB, free: 1.938 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.5332, allocations: 1.402 MB / 1.468 GB, free: 0.5391 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004031/0.5372, allocations: 3.01 MB / 1.471 GB, free: 13.52 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.539, allocations: 1.009 MB / 1.471 GB, free: 12.45 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.5411, allocations: 1.266 MB / 1.473 GB, free: 11.18 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.543, allocations: 1.346 MB / 1.474 GB, free: 9.828 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005515/0.5435, allocations: 328 kB / 1.474 GB, free: 9.508 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.545, allocations: 0.73 MB / 1.475 GB, free: 8.777 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000681/0.5457, allocations: 0.701 MB / 1.476 GB, free: 8.074 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.547, allocations: 1.108 MB / 1.477 GB, free: 6.961 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00475/0.5518, allocations: 3.74 MB / 1.48 GB, free: 3.207 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5518, allocations: 0 / 1.48 GB, free: 3.207 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.973e-06/0.5518, allocations: 0 / 1.48 GB, free: 3.207 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.196e-05/0.5518, allocations: 0 / 1.48 GB, free: 3.207 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.006895/0.5587, allocations: 2.849 MB / 1.483 GB, free: 300 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.5588, allocations: 8.031 kB / 1.483 GB, free: 292 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02044/0.5792, allocations: 2.309 MB / 1.486 GB, free: 13.97 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.5825, allocations: 1.238 MB / 1.487 GB, free: 12.7 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.5827, allocations: 172.5 kB / 1.487 GB, free: 12.53 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004874/0.5832, allocations: 220 kB / 1.487 GB, free: 12.31 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009758/0.5929, allocations: 3.533 MB / 1.491 GB, free: 8.625 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.654e-05/0.593, allocations: 0 / 1.491 GB, free: 8.625 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002969/0.5933, allocations: 92 kB / 1.491 GB, free: 8.535 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/0.5933, allocations: 56 kB / 1.491 GB, free: 8.48 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/0.6067, allocations: 4.143 MB / 1.495 GB, free: 4.32 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/0.6235, allocations: 6.124 MB / 1.501 GB, free: 14.12 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009138/0.6327, allocations: 2.702 MB / 1.503 GB, free: 11.4 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004566/0.6372, allocations: 1.357 MB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006345/0.6379, allocations: 113.9 kB / 1.505 GB, free: 9.93 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005562/0.6434, allocations: 1.952 MB / 1.507 GB, free: 7.934 MB / 1.201 GB Notification: Performance of pre-optimization done (n=213): time 5.19e-06/0.6434, allocations: 3.938 kB / 1.507 GB, free: 7.93 MB / 1.201 GB Notification: Performance of matching and sorting (n=213): time 0.0168/0.6602, allocations: 4.38 MB / 1.511 GB, free: 3.543 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.6604, allocations: 205.9 kB / 1.511 GB, free: 3.297 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.662, allocations: 0.8219 MB / 1.512 GB, free: 2.469 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005626/0.6625, allocations: 65.7 kB / 1.512 GB, free: 2.398 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008897/0.6634, allocations: 0.7756 MB / 1.513 GB, free: 1.613 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001058/0.6645, allocations: 0.7126 MB / 1.514 GB, free: 0.8945 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008546/0.6653, allocations: 399.2 kB / 1.514 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.6655, allocations: 301.1 kB / 1.514 GB, free: 204 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004453/0.6699, allocations: 1.257 MB / 1.515 GB, free: 14.94 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004787/0.6747, allocations: 1.571 MB / 1.517 GB, free: 13.32 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00968/0.6844, allocations: 2.602 MB / 1.519 GB, free: 10.7 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.6844, allocations: 0 / 1.519 GB, free: 10.7 MB / 1.217 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01069/0.6951, allocations: 3.121 MB / 1.523 GB, free: 7.566 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.6951, allocations: 11.98 kB / 1.523 GB, free: 7.555 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.6951, allocations: 0 / 1.523 GB, free: 7.555 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006979/0.6958, allocations: 88.83 kB / 1.523 GB, free: 7.465 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/0.6999, allocations: 0.6045 MB / 1.523 GB, free: 6.859 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.7025, allocations: 1.514 MB / 1.525 GB, free: 5.242 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003526/0.706, allocations: 344.5 kB / 1.525 GB, free: 4.906 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/0.7063, allocations: 103.9 kB / 1.525 GB, free: 4.805 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.001135/0.7074, allocations: 448.7 kB / 1.526 GB, free: 4.355 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004521/0.7079, allocations: 147.1 kB / 1.526 GB, free: 4.211 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/0.7201, allocations: 3.706 MB / 1.529 GB, free: 496 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/0.7201, allocations: 23.98 kB / 1.529 GB, free: 472 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7201, allocations: 4.047 kB / 1.529 GB, free: 468 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-05/0.7201, allocations: 11.91 kB / 1.529 GB, free: 456 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.723, allocations: 1.743 MB / 1.531 GB, free: 14.67 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.046e-06/0.723, allocations: 3.938 kB / 1.531 GB, free: 14.67 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003765/0.7268, allocations: 0.5617 MB / 1.532 GB, free: 14.11 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005092/0.7273, allocations: 80.78 kB / 1.532 GB, free: 14.02 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000302/0.7276, allocations: 67.92 kB / 1.532 GB, free: 13.96 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.7298, allocations: 1.536 MB / 1.533 GB, free: 12.31 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.7298, allocations: 4 kB / 1.533 GB, free: 12.31 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/0.7408, allocations: 3.203 MB / 1.536 GB, free: 9.082 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/0.7422, allocations: 468.1 kB / 1.537 GB, free: 8.625 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004361/0.7426, allocations: 51.94 kB / 1.537 GB, free: 8.574 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003027/0.7457, allocations: 267.7 kB / 1.537 GB, free: 8.312 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003597/0.746, allocations: 161.6 kB / 1.537 GB, free: 8.152 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/0.7463, allocations: 95.84 kB / 1.537 GB, free: 8.059 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009707/0.7472, allocations: 0.6141 MB / 1.538 GB, free: 7.434 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.7472, allocations: 0 / 1.538 GB, free: 7.434 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00195/0.7492, allocations: 0.7012 MB / 1.539 GB, free: 6.73 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.002567/0.7518, allocations: 0.6967 MB / 1.539 GB, free: 6.242 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01186/0.7636, allocations: 3.03 MB / 1.542 GB, free: 3.203 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.7636, allocations: 0 / 1.542 GB, free: 3.203 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00546/0.7691, allocations: 1.63 MB / 1.544 GB, free: 1.559 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.7709, allocations: 365.6 kB / 1.544 GB, free: 1.219 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009665/0.7806, allocations: 4.136 MB / 1.548 GB, free: 13.05 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009675/0.7816, allocations: 0.8639 MB / 1.549 GB, free: 12.14 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002815/0.7844, allocations: 0.5667 MB / 1.55 GB, free: 11.57 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/0.7855, allocations: 239.2 kB / 1.55 GB, free: 11.33 MB / 1.248 GB Notification: Performance of SimCode: time 8.82e-07/0.7855, allocations: 0 / 1.55 GB, free: 11.33 MB / 1.248 GB Notification: Performance of Templates: time 0.05723/0.8427, allocations: 33.51 MB / 1.583 GB, free: 10.13 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 cvode -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.726015423002536]