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.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.001351/0.001351, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001659/0.001659, allocations: 215.5 kB / 22.25 MB, free: 4.852 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.83/2.83, allocations: 475.9 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002149/0.002149, allocations: 61.44 kB / 1.117 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3657, allocations: 169.9 MB / 1.283 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01076/0.3764, allocations: 7.34 MB / 1.29 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.181/0.5575, allocations: 133.9 MB / 1.421 GB, free: 5.953 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.559, allocations: 27.81 kB / 1.421 GB, free: 5.926 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.5603, allocations: 348.5 kB / 1.421 GB, free: 5.582 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003288/0.5636, allocations: 0.877 MB / 1.422 GB, free: 4.703 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003423/0.567, allocations: 1.392 MB / 1.423 GB, free: 3.316 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003939/0.571, allocations: 3.013 MB / 1.426 GB, free: 300 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.5726, allocations: 0.9774 MB / 1.427 GB, free: 15.25 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.5745, allocations: 1.246 MB / 1.429 GB, free: 14 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/0.5763, allocations: 1.21 MB / 1.43 GB, free: 12.78 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004954/0.5768, allocations: 328 kB / 1.43 GB, free: 12.46 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.5783, allocations: 0.7105 MB / 1.431 GB, free: 11.75 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006531/0.579, allocations: 0.6972 MB / 1.431 GB, free: 11.05 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.5801, allocations: 1.097 MB / 1.433 GB, free: 9.949 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.004386/0.5845, allocations: 3.752 MB / 1.436 GB, free: 6.184 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5845, allocations: 0 / 1.436 GB, free: 6.184 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5845, allocations: 0 / 1.436 GB, free: 6.184 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.618e-05/0.5846, allocations: 0 / 1.436 GB, free: 6.184 MB / 1.139 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.006668/0.5912, allocations: 2.849 MB / 1.439 GB, free: 3.273 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5913, allocations: 8.031 kB / 1.439 GB, free: 3.266 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01833/0.6096, allocations: 2.32 MB / 1.441 GB, free: 0.9414 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003239/0.6128, allocations: 1.238 MB / 1.442 GB, free: 15.67 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.613, allocations: 168.5 kB / 1.443 GB, free: 15.5 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005426/0.6135, allocations: 220 kB / 1.443 GB, free: 15.29 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009833/0.6234, allocations: 3.533 MB / 1.446 GB, free: 11.6 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.643e-05/0.6234, allocations: 0 / 1.446 GB, free: 11.6 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002619/0.6237, allocations: 95.94 kB / 1.446 GB, free: 11.5 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.647e-05/0.6237, allocations: 52 kB / 1.446 GB, free: 11.45 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01322/0.6369, allocations: 4.139 MB / 1.45 GB, free: 7.297 MB / 1.154 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.01679/0.6537, allocations: 6.12 MB / 1.456 GB, free: 1.105 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00955/0.6633, allocations: 2.707 MB / 1.459 GB, free: 14.39 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00469/0.668, allocations: 1.352 MB / 1.46 GB, free: 13.04 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006515/0.6686, allocations: 117.9 kB / 1.461 GB, free: 12.92 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005602/0.6742, allocations: 1.944 MB / 1.462 GB, free: 10.93 MB / 1.17 GB Notification: Performance of pre-optimization done (n=213): time 6.382e-06/0.6742, allocations: 3.938 kB / 1.462 GB, free: 10.93 MB / 1.17 GB Notification: Performance of matching and sorting (n=213): time 0.01603/0.6903, allocations: 4.384 MB / 1.467 GB, free: 6.539 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.6904, allocations: 213.8 kB / 1.467 GB, free: 6.285 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.6917, allocations: 0.8219 MB / 1.468 GB, free: 5.457 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000277/0.692, allocations: 61.7 kB / 1.468 GB, free: 5.391 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007401/0.6928, allocations: 0.7719 MB / 1.469 GB, free: 4.609 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007935/0.6936, allocations: 0.7126 MB / 1.469 GB, free: 3.887 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007877/0.6943, allocations: 399.2 kB / 1.47 GB, free: 3.488 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6945, allocations: 305.1 kB / 1.47 GB, free: 3.188 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004506/0.699, allocations: 1.257 MB / 1.471 GB, free: 1.93 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004799/0.7038, allocations: 1.563 MB / 1.473 GB, free: 328 kB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009193/0.713, allocations: 2.614 MB / 1.475 GB, free: 13.69 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.713, allocations: 0 / 1.475 GB, free: 13.69 MB / 1.186 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01107/0.7241, allocations: 3.121 MB / 1.478 GB, free: 10.55 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.7241, allocations: 4 kB / 1.478 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.7241, allocations: 8 kB / 1.478 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006627/0.7248, allocations: 92.77 kB / 1.478 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003962/0.7287, allocations: 0.6007 MB / 1.479 GB, free: 9.848 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.7311, allocations: 1.5 MB / 1.48 GB, free: 8.238 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003534/0.7346, allocations: 346.8 kB / 1.481 GB, free: 7.898 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005289/0.7352, allocations: 103.9 kB / 1.481 GB, free: 7.797 MB / 1.186 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.001477/0.7366, allocations: 444.2 kB / 1.481 GB, free: 7.352 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006506/0.7373, allocations: 151 kB / 1.481 GB, free: 7.203 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/0.7517, allocations: 3.718 MB / 1.485 GB, free: 3.461 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.643e-05/0.7517, allocations: 20 kB / 1.485 GB, free: 3.441 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.7517, allocations: 4 kB / 1.485 GB, free: 3.438 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-05/0.7518, allocations: 11.95 kB / 1.485 GB, free: 3.426 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004088/0.7559, allocations: 1.743 MB / 1.487 GB, free: 1.652 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/0.7559, allocations: 4 kB / 1.487 GB, free: 1.648 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003867/0.7598, allocations: 0.5539 MB / 1.487 GB, free: 1.094 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005148/0.7603, allocations: 76.78 kB / 1.487 GB, free: 1.016 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005202/0.7608, allocations: 75.91 kB / 1.487 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.7631, allocations: 1.532 MB / 1.489 GB, free: 15.3 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7631, allocations: 0 / 1.489 GB, free: 15.3 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/0.7764, allocations: 3.207 MB / 1.492 GB, free: 12.08 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/0.7781, allocations: 472.1 kB / 1.493 GB, free: 11.61 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006781/0.7787, allocations: 51.89 kB / 1.493 GB, free: 11.56 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003217/0.782, allocations: 281.8 kB / 1.493 GB, free: 11.29 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004619/0.7824, allocations: 157.7 kB / 1.493 GB, free: 11.13 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003815/0.7828, allocations: 99.84 kB / 1.493 GB, free: 11.04 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001329/0.7841, allocations: 0.6024 MB / 1.494 GB, free: 10.42 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.7841, allocations: 0 / 1.494 GB, free: 10.42 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002632/0.7868, allocations: 0.709 MB / 1.494 GB, free: 9.711 MB / 1.201 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.002622/0.7894, allocations: 0.6947 MB / 1.495 GB, free: 9.219 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01072/0.8001, allocations: 3.03 MB / 1.498 GB, free: 6.176 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.8001, allocations: 0 / 1.498 GB, free: 6.176 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00553/0.8056, allocations: 1.622 MB / 1.5 GB, free: 4.543 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.8077, allocations: 361.1 kB / 1.5 GB, free: 4.207 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.8185, allocations: 4.14 MB / 1.504 GB, free: 32 kB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/0.8198, allocations: 0.86 MB / 1.505 GB, free: 15.13 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00359/0.8234, allocations: 0.5629 MB / 1.505 GB, free: 14.56 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/0.8246, allocations: 231.2 kB / 1.506 GB, free: 14.33 MB / 1.217 GB Notification: Performance of SimCode: time 1.353e-06/0.8246, allocations: 0 / 1.506 GB, free: 14.33 MB / 1.217 GB Notification: Performance of Templates: time 0.05635/0.881, allocations: 32.95 MB / 1.538 GB, free: 13.71 MB / 1.248 GB " [Timeout remaining time 299] 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: 10.48145510070026]