Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001352/0.001352, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.0014/0.0014, allocations: 186 kB / 20.78 MB, free: 1.547 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.485/1.485, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.67/2.67, allocations: 443.4 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 67.89 kB / 1.059 GB, free: 400 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.366, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01153/0.3776, allocations: 8.529 MB / 1.224 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9191/1.297, allocations: 152.4 MB / 1.373 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/1.298, allocations: 24.56 kB / 1.373 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/1.3, allocations: 333.1 kB / 1.374 GB, free: 14.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003426/1.303, allocations: 0.856 MB / 1.374 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/1.307, allocations: 1.408 MB / 1.376 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004928/1.311, allocations: 2.999 MB / 1.379 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/1.313, allocations: 1.004 MB / 1.38 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002325/1.316, allocations: 1.204 MB / 1.381 GB, free: 10.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/1.318, allocations: 1.348 MB / 1.382 GB, free: 9.648 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.00075/1.319, allocations: 325.7 kB / 1.383 GB, free: 9.648 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/1.321, allocations: 0.705 MB / 1.383 GB, free: 9.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007186/1.322, allocations: 0.6911 MB / 1.384 GB, free: 9.051 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001691/1.324, allocations: 1.337 MB / 1.385 GB, free: 8.07 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005558/1.329, allocations: 3.69 MB / 1.389 GB, free: 5.285 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.329, allocations: 1.031 kB / 1.389 GB, free: 5.285 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.783e-06/1.329, allocations: 0 / 1.389 GB, free: 5.285 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001039/1.329, allocations: 0 / 1.389 GB, free: 5.285 MB / 1.061 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.008027/1.337, allocations: 2.889 MB / 1.392 GB, free: 3.199 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/1.337, allocations: 13.88 kB / 1.392 GB, free: 3.195 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01656/1.354, allocations: 2.124 MB / 1.394 GB, free: 2.227 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00381/1.358, allocations: 1.292 MB / 1.395 GB, free: 1.168 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/1.358, allocations: 168.7 kB / 1.395 GB, free: 1.09 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005729/1.358, allocations: 221.7 kB / 1.395 GB, free: 1.016 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/1.369, allocations: 3.278 MB / 1.399 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.649e-05/1.369, allocations: 0 / 1.399 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003236/1.37, allocations: 100.2 kB / 1.399 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/1.37, allocations: 54.38 kB / 1.399 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/1.383, allocations: 4.199 MB / 1.403 GB, free: 12.93 MB / 1.076 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.01909/1.402, allocations: 8.05 MB / 1.411 GB, free: 6.688 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008748/1.411, allocations: 2.709 MB / 1.413 GB, free: 5.219 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004631/1.416, allocations: 1.36 MB / 1.415 GB, free: 3.852 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009425/1.417, allocations: 0.5074 MB / 1.415 GB, free: 3.254 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005635/1.422, allocations: 1.84 MB / 1.417 GB, free: 1.395 MB / 1.076 GB Notification: Performance of pre-optimization done (n=213): time 4.639e-06/1.422, allocations: 0 / 1.417 GB, free: 1.395 MB / 1.076 GB Notification: Performance of matching and sorting (n=213): time 0.01724/1.439, allocations: 4.478 MB / 1.421 GB, free: 12.89 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/1.44, allocations: 205.9 kB / 1.421 GB, free: 12.64 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/1.442, allocations: 0.9448 MB / 1.422 GB, free: 11.68 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0005799/1.442, allocations: 65.7 kB / 1.422 GB, free: 11.61 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009074/1.443, allocations: 0.764 MB / 1.423 GB, free: 10.84 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001144/1.444, allocations: 0.7087 MB / 1.424 GB, free: 10.12 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001426/1.446, allocations: 399.3 kB / 1.424 GB, free: 9.727 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.446, allocations: 309.1 kB / 1.425 GB, free: 9.422 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004525/1.45, allocations: 1.257 MB / 1.426 GB, free: 8.164 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004801/1.455, allocations: 1.434 MB / 1.427 GB, free: 6.707 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009359/1.464, allocations: 2.618 MB / 1.43 GB, free: 4.07 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/1.464, allocations: 0 / 1.43 GB, free: 4.07 MB / 1.092 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01174/1.476, allocations: 3.129 MB / 1.433 GB, free: 0.9297 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/1.476, allocations: 12.06 kB / 1.433 GB, free: 0.918 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/1.476, allocations: 0 / 1.433 GB, free: 0.918 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006633/1.477, allocations: 88.72 kB / 1.433 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004037/1.481, allocations: 0.6007 MB / 1.433 GB, free: 232 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/1.484, allocations: 1.636 MB / 1.435 GB, free: 14.44 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00405/1.488, allocations: 366.4 kB / 1.435 GB, free: 14.08 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006879/1.488, allocations: 103.9 kB / 1.436 GB, free: 13.98 MB / 1.107 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.001833/1.49, allocations: 440 kB / 1.436 GB, free: 13.54 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009558/1.491, allocations: 163 kB / 1.436 GB, free: 13.38 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01375/1.505, allocations: 3.71 MB / 1.44 GB, free: 9.656 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.932e-05/1.505, allocations: 24.06 kB / 1.44 GB, free: 9.633 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.505, allocations: 4 kB / 1.44 GB, free: 9.629 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.07e-05/1.505, allocations: 11.95 kB / 1.44 GB, free: 9.617 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004973/1.51, allocations: 2.456 MB / 1.442 GB, free: 7.117 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.234e-05/1.51, allocations: 0 / 1.442 GB, free: 7.117 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003867/1.514, allocations: 0.5617 MB / 1.443 GB, free: 6.555 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005361/1.514, allocations: 80.72 kB / 1.443 GB, free: 6.473 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000422/1.515, allocations: 67.92 kB / 1.443 GB, free: 6.406 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/1.517, allocations: 1.674 MB / 1.444 GB, free: 4.59 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.517, allocations: 0 / 1.444 GB, free: 4.59 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.529, allocations: 3.219 MB / 1.448 GB, free: 1.348 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.531, allocations: 0.546 MB / 1.448 GB, free: 0.7812 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006983/1.531, allocations: 55.88 kB / 1.448 GB, free: 0.7266 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003305/1.535, allocations: 269.4 kB / 1.448 GB, free: 476 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004464/1.535, allocations: 149.8 kB / 1.449 GB, free: 328 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003515/1.535, allocations: 91.91 kB / 1.449 GB, free: 236 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001513/1.537, allocations: 0.6997 MB / 1.449 GB, free: 15.52 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.537, allocations: 0 / 1.449 GB, free: 15.52 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002891/1.54, allocations: 0.6935 MB / 1.45 GB, free: 14.83 MB / 1.123 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.002558/1.542, allocations: 0.6664 MB / 1.451 GB, free: 14.34 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.553, allocations: 3.03 MB / 1.454 GB, free: 11.29 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/1.553, allocations: 4 kB / 1.454 GB, free: 11.29 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.005775/1.559, allocations: 1.622 MB / 1.455 GB, free: 9.66 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003161/1.562, allocations: 404 kB / 1.456 GB, free: 9.285 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/1.574, allocations: 4.142 MB / 1.46 GB, free: 5.109 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001625/1.575, allocations: 1.43 MB / 1.461 GB, free: 3.641 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.004184/1.58, allocations: 0.5717 MB / 1.462 GB, free: 3.062 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/1.581, allocations: 235.2 kB / 1.462 GB, free: 2.832 MB / 1.123 GB Notification: Performance of SimCode: time 1.392e-06/1.581, allocations: 0 / 1.462 GB, free: 2.832 MB / 1.123 GB Notification: Performance of Templates: time 0.06617/1.647, allocations: 32.73 MB / 1.494 GB, free: 2.301 MB / 1.154 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.809543158859015]