Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001808/0.001808, allocations: 111.3 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.002034/0.002034, 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.512/1.512, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.7 MB / 0.7629 GB, free: 15.22 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.89 kB / 1.107 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.12/1.122, allocations: 168.7 MB / 1.272 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009144/1.131, allocations: 8.485 MB / 1.28 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2135/1.345, allocations: 152.4 MB / 1.429 GB, free: 12 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/1.347, allocations: 28.03 kB / 1.429 GB, free: 0 / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/1.349, allocations: 327 kB / 1.429 GB, free: 15.71 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004607/1.353, allocations: 0.8694 MB / 1.43 GB, free: 15.01 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004753/1.358, allocations: 1.398 MB / 1.432 GB, free: 13.89 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005516/1.364, allocations: 2.996 MB / 1.435 GB, free: 12.03 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/1.366, allocations: 1.005 MB / 1.436 GB, free: 11.29 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00245/1.368, allocations: 1.202 MB / 1.437 GB, free: 10.55 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/1.372, allocations: 1.357 MB / 1.438 GB, free: 9.562 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006377/1.372, allocations: 324.4 kB / 1.438 GB, free: 9.562 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/1.374, allocations: 0.7 MB / 1.439 GB, free: 9.371 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0009543/1.375, allocations: 0.6904 MB / 1.44 GB, free: 8.781 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001634/1.377, allocations: 1.341 MB / 1.441 GB, free: 7.473 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005299/1.382, allocations: 3.681 MB / 1.445 GB, free: 3.781 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.382, allocations: 3.938 kB / 1.445 GB, free: 3.777 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.674e-06/1.382, allocations: 0 / 1.445 GB, free: 3.777 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.579e-05/1.382, allocations: 0 / 1.445 GB, free: 3.777 MB / 1.123 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.006835/1.389, allocations: 2.889 MB / 1.447 GB, free: 0.8086 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/1.389, allocations: 11.97 kB / 1.447 GB, free: 0.7969 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01551/1.404, allocations: 2.125 MB / 1.449 GB, free: 14.67 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002889/1.407, allocations: 1.295 MB / 1.451 GB, free: 13.32 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/1.407, allocations: 168.5 kB / 1.451 GB, free: 13.16 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000448/1.408, allocations: 216 kB / 1.451 GB, free: 12.95 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009242/1.417, allocations: 3.282 MB / 1.454 GB, free: 9.57 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-05/1.417, allocations: 7.938 kB / 1.454 GB, free: 9.562 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/1.417, allocations: 95.98 kB / 1.454 GB, free: 9.469 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-05/1.417, allocations: 56 kB / 1.454 GB, free: 9.414 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01294/1.43, allocations: 4.201 MB / 1.459 GB, free: 5.195 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/1.448, allocations: 8.052 MB / 1.466 GB, free: 12.87 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008929/1.457, allocations: 2.708 MB / 1.469 GB, free: 10.15 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004279/1.462, allocations: 1.356 MB / 1.47 GB, free: 8.793 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009666/1.463, allocations: 0.4996 MB / 1.471 GB, free: 8.203 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005202/1.468, allocations: 1.848 MB / 1.473 GB, free: 6.336 MB / 1.154 GB Notification: Performance of pre-optimization done (n=213): time 4.489e-06/1.468, allocations: 0 / 1.473 GB, free: 6.336 MB / 1.154 GB Notification: Performance of matching and sorting (n=213): time 0.01516/1.483, allocations: 4.482 MB / 1.477 GB, free: 1.828 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/1.483, allocations: 205.9 kB / 1.477 GB, free: 1.582 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/1.485, allocations: 0.9448 MB / 1.478 GB, free: 0.6172 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0003068/1.485, allocations: 69.7 kB / 1.478 GB, free: 0.543 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007715/1.486, allocations: 0.7523 MB / 1.479 GB, free: 15.78 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008553/1.487, allocations: 0.7165 MB / 1.48 GB, free: 15.06 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008676/1.488, allocations: 407.2 kB / 1.48 GB, free: 14.66 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.488, allocations: 301.1 kB / 1.48 GB, free: 14.36 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004201/1.492, allocations: 1.253 MB / 1.482 GB, free: 13.11 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004596/1.496, allocations: 1.437 MB / 1.483 GB, free: 11.64 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008696/1.505, allocations: 2.614 MB / 1.486 GB, free: 9.008 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.505, allocations: 4 kB / 1.486 GB, free: 9.004 MB / 1.17 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01042/1.516, allocations: 3.129 MB / 1.489 GB, free: 5.863 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/1.516, allocations: 4 kB / 1.489 GB, free: 5.859 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.516, allocations: 4 kB / 1.489 GB, free: 5.855 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006259/1.516, allocations: 84.84 kB / 1.489 GB, free: 5.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003788/1.52, allocations: 0.6045 MB / 1.489 GB, free: 5.164 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/1.522, allocations: 1.638 MB / 1.491 GB, free: 3.379 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/1.526, allocations: 366.7 kB / 1.491 GB, free: 3.02 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002847/1.526, allocations: 103.8 kB / 1.491 GB, free: 2.918 MB / 1.17 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.001435/1.527, allocations: 447.9 kB / 1.492 GB, free: 2.469 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005451/1.528, allocations: 159 kB / 1.492 GB, free: 2.312 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.54, allocations: 3.712 MB / 1.496 GB, free: 14.58 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/1.54, allocations: 24 kB / 1.496 GB, free: 14.56 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/1.54, allocations: 0 / 1.496 GB, free: 14.56 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.054e-05/1.54, allocations: 11.95 kB / 1.496 GB, free: 14.55 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004373/1.544, allocations: 2.46 MB / 1.498 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/1.544, allocations: 4 kB / 1.498 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003559/1.548, allocations: 0.5655 MB / 1.499 GB, free: 11.47 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004957/1.548, allocations: 72.73 kB / 1.499 GB, free: 11.4 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002538/1.549, allocations: 79.91 kB / 1.499 GB, free: 11.32 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/1.551, allocations: 1.67 MB / 1.5 GB, free: 9.504 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.551, allocations: 0 / 1.5 GB, free: 9.504 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/1.561, allocations: 3.219 MB / 1.503 GB, free: 6.258 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.563, allocations: 0.5499 MB / 1.504 GB, free: 5.688 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003569/1.563, allocations: 55.88 kB / 1.504 GB, free: 5.633 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00289/1.566, allocations: 267.7 kB / 1.504 GB, free: 5.371 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000377/1.566, allocations: 149.8 kB / 1.504 GB, free: 5.227 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002481/1.567, allocations: 91.91 kB / 1.505 GB, free: 5.137 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001203/1.568, allocations: 0.6997 MB / 1.505 GB, free: 4.43 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.568, allocations: 0 / 1.505 GB, free: 4.43 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002002/1.57, allocations: 0.6858 MB / 1.506 GB, free: 3.742 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: 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.002283/1.572, allocations: 0.6621 MB / 1.507 GB, free: 3.25 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01018/1.582, allocations: 3.034 MB / 1.51 GB, free: 208 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.582, allocations: 0 / 1.51 GB, free: 208 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005458/1.588, allocations: 1.622 MB / 1.511 GB, free: 14.57 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/1.59, allocations: 395.7 kB / 1.511 GB, free: 14.21 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/1.6, allocations: 4.132 MB / 1.516 GB, free: 10.04 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/1.601, allocations: 1.43 MB / 1.517 GB, free: 8.574 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.003243/1.604, allocations: 0.5794 MB / 1.517 GB, free: 7.988 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/1.605, allocations: 239.2 kB / 1.518 GB, free: 7.754 MB / 1.201 GB Notification: Performance of SimCode: time 1.694e-06/1.605, allocations: 0 / 1.518 GB, free: 7.754 MB / 1.201 GB Notification: Performance of Templates: time 0.05927/1.665, allocations: 32.74 MB / 1.55 GB, free: 7.211 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.154073430225253]