Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.892/2.892, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 67.89 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16/1.162, allocations: 173.6 MB / 1.305 GB, free: 33.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008152/1.171, allocations: 8.51 MB / 1.314 GB, free: 27.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2199/1.39, allocations: 152.4 MB / 1.463 GB, free: 12.56 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/1.393, allocations: 21.12 kB / 1.463 GB, free: 12.55 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/1.395, allocations: 330.1 kB / 1.463 GB, free: 12.33 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004662/1.399, allocations: 0.8483 MB / 1.464 GB, free: 11.79 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005092/1.404, allocations: 1.414 MB / 1.465 GB, free: 10.97 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.006427/1.411, allocations: 2.995 MB / 1.468 GB, free: 9.426 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003497/1.414, allocations: 1.013 MB / 1.469 GB, free: 8.785 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00453/1.419, allocations: 1.2 MB / 1.47 GB, free: 8.188 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00468/1.423, allocations: 1.349 MB / 1.471 GB, free: 7.418 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002231/1.426, allocations: 325.1 kB / 1.472 GB, free: 7.418 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003938/1.43, allocations: 0.7067 MB / 1.472 GB, free: 7.219 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001842/1.431, allocations: 0.694 MB / 1.473 GB, free: 6.625 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.003832/1.435, allocations: 1.336 MB / 1.474 GB, free: 5.621 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.007319/1.443, allocations: 3.679 MB / 1.478 GB, free: 2.844 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.443, allocations: 1.094 kB / 1.478 GB, free: 2.844 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.534e-06/1.443, allocations: 0 / 1.478 GB, free: 2.844 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001048/1.443, allocations: 4 kB / 1.478 GB, free: 2.84 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.007906/1.451, allocations: 2.889 MB / 1.481 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.451, allocations: 13.55 kB / 1.481 GB, free: 0.75 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/1.467, allocations: 2.119 MB / 1.483 GB, free: 15.78 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004402/1.471, allocations: 1.304 MB / 1.484 GB, free: 14.71 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/1.471, allocations: 172.4 kB / 1.484 GB, free: 14.63 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005672/1.472, allocations: 218.4 kB / 1.485 GB, free: 14.56 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/1.482, allocations: 3.281 MB / 1.488 GB, free: 12.59 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/1.482, allocations: 0 / 1.488 GB, free: 12.59 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003026/1.482, allocations: 92.44 kB / 1.488 GB, free: 12.52 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-05/1.483, allocations: 54.31 kB / 1.488 GB, free: 12.52 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/1.496, allocations: 4.206 MB / 1.492 GB, free: 9.043 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01962/1.516, allocations: 8.14 MB / 1.5 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009208/1.525, allocations: 2.708 MB / 1.503 GB, free: 13.89 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004589/1.53, allocations: 1.356 MB / 1.504 GB, free: 12.53 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009193/1.53, allocations: 0.5113 MB / 1.504 GB, free: 11.93 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005398/1.536, allocations: 1.84 MB / 1.506 GB, free: 10.07 MB / 1.186 GB Notification: Performance of pre-optimization done (n=213): time 4.248e-06/1.536, allocations: 4 kB / 1.506 GB, free: 10.07 MB / 1.186 GB Notification: Performance of matching and sorting (n=213): time 0.01564/1.552, allocations: 4.471 MB / 1.511 GB, free: 5.57 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001978/1.552, allocations: 209.9 kB / 1.511 GB, free: 5.32 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/1.554, allocations: 0.9526 MB / 1.512 GB, free: 4.348 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002669/1.554, allocations: 61.7 kB / 1.512 GB, free: 4.281 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000792/1.555, allocations: 0.764 MB / 1.513 GB, free: 3.508 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008149/1.555, allocations: 0.7087 MB / 1.513 GB, free: 2.793 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008421/1.556, allocations: 403.2 kB / 1.514 GB, free: 2.395 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.556, allocations: 301.1 kB / 1.514 GB, free: 2.098 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004329/1.561, allocations: 1.261 MB / 1.515 GB, free: 0.8359 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004562/1.565, allocations: 1.437 MB / 1.517 GB, free: 15.37 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008586/1.574, allocations: 2.61 MB / 1.519 GB, free: 12.74 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.574, allocations: 64 / 1.519 GB, free: 12.74 MB / 1.201 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01083/1.585, allocations: 3.136 MB / 1.522 GB, free: 9.598 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/1.585, allocations: 8 kB / 1.522 GB, free: 9.59 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/1.585, allocations: 0 / 1.522 GB, free: 9.59 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007124/1.586, allocations: 88.84 kB / 1.522 GB, free: 9.5 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004132/1.59, allocations: 0.6006 MB / 1.523 GB, free: 8.898 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/1.592, allocations: 1.642 MB / 1.524 GB, free: 7.113 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00386/1.596, allocations: 374.7 kB / 1.525 GB, free: 6.746 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000373/1.597, allocations: 99.83 kB / 1.525 GB, free: 6.648 MB / 1.201 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.001317/1.598, allocations: 446.2 kB / 1.525 GB, free: 6.203 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/1.598, allocations: 163 kB / 1.526 GB, free: 6.043 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/1.61, allocations: 3.712 MB / 1.529 GB, free: 2.309 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/1.61, allocations: 24 kB / 1.529 GB, free: 2.285 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.61, allocations: 0 / 1.529 GB, free: 2.285 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.27e-05/1.61, allocations: 11.95 kB / 1.529 GB, free: 2.273 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004054/1.614, allocations: 2.448 MB / 1.532 GB, free: 15.78 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1.614, allocations: 0 / 1.532 GB, free: 15.78 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003599/1.618, allocations: 0.5694 MB / 1.532 GB, free: 15.21 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004855/1.618, allocations: 76.8 kB / 1.532 GB, free: 15.13 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002473/1.618, allocations: 71.91 kB / 1.532 GB, free: 15.06 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/1.621, allocations: 1.658 MB / 1.534 GB, free: 13.26 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.621, allocations: 0 / 1.534 GB, free: 13.26 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.631, allocations: 3.219 MB / 1.537 GB, free: 10.02 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/1.632, allocations: 0.546 MB / 1.538 GB, free: 9.449 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005495/1.633, allocations: 59.94 kB / 1.538 GB, free: 9.391 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002995/1.636, allocations: 269.7 kB / 1.538 GB, free: 9.129 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003487/1.636, allocations: 153.9 kB / 1.538 GB, free: 8.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002476/1.636, allocations: 95.91 kB / 1.538 GB, free: 8.887 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001102/1.638, allocations: 0.6919 MB / 1.539 GB, free: 8.188 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/1.638, allocations: 0 / 1.539 GB, free: 8.188 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002094/1.64, allocations: 0.6858 MB / 1.539 GB, free: 7.5 MB / 1.217 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.002188/1.642, allocations: 0.6675 MB / 1.54 GB, free: 7 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01023/1.652, allocations: 3.03 MB / 1.543 GB, free: 3.953 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.652, allocations: 8.25 kB / 1.543 GB, free: 3.945 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.005412/1.658, allocations: 1.614 MB / 1.545 GB, free: 2.324 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/1.66, allocations: 402.2 kB / 1.545 GB, free: 1.949 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/1.671, allocations: 4.138 MB / 1.549 GB, free: 13.78 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/1.672, allocations: 1.43 MB / 1.55 GB, free: 12.31 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.003686/1.676, allocations: 0.5756 MB / 1.551 GB, free: 11.73 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/1.677, allocations: 239.2 kB / 1.551 GB, free: 11.49 MB / 1.232 GB Notification: Performance of SimCode: time 1.282e-06/1.677, allocations: 4 kB / 1.551 GB, free: 11.49 MB / 1.232 GB Notification: Performance of Templates: time 0.06606/1.743, allocations: 32.71 MB / 1.583 GB, free: 10.97 MB / 1.264 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.367454336956143]