Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.001872/0.001872, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002256/0.002256, allocations: 188.9 kB / 22.23 MB, free: 5.137 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.514/1.514, allocations: 225.6 MB / 251 MB, free: 13.03 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.788/2.788, allocations: 476.7 MB / 0.7646 GB, free: 9.895 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.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 67.89 kB / 1.109 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8061, allocations: 168.8 MB / 1.274 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.01317/0.8192, allocations: 6.964 MB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2007/1.02, allocations: 151.9 MB / 1.429 GB, free: 4.77 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/1.021, allocations: 23.88 kB / 1.429 GB, free: 4.746 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0009602/1.022, allocations: 269.4 kB / 1.43 GB, free: 4.48 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002874/1.025, allocations: 0.8098 MB / 1.43 GB, free: 3.672 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002786/1.028, allocations: 1.018 MB / 1.431 GB, free: 2.66 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004075/1.032, allocations: 2.16 MB / 1.434 GB, free: 500 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/1.033, allocations: 0.7106 MB / 1.434 GB, free: 15.73 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001803/1.035, allocations: 0.8604 MB / 1.435 GB, free: 14.87 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/1.037, allocations: 0.9142 MB / 1.436 GB, free: 13.95 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002943/1.037, allocations: 208 kB / 1.436 GB, free: 13.75 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/1.038, allocations: 0.566 MB / 1.437 GB, free: 13.18 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004755/1.039, allocations: 490.4 kB / 1.437 GB, free: 12.7 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009908/1.04, allocations: 0.9447 MB / 1.438 GB, free: 11.75 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003455/1.043, allocations: 2.579 MB / 1.441 GB, free: 9.164 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.043, allocations: 0 / 1.441 GB, free: 9.164 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.124e-06/1.043, allocations: 0 / 1.441 GB, free: 9.164 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.774e-05/1.043, allocations: 4 kB / 1.441 GB, free: 9.16 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.00436/1.048, allocations: 2.042 MB / 1.443 GB, free: 7.07 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/1.048, allocations: 11.98 kB / 1.443 GB, free: 7.059 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/1.049, allocations: 267.6 kB / 1.443 GB, free: 6.797 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/1.05, allocations: 0.933 MB / 1.444 GB, free: 5.836 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/1.051, allocations: 115.1 kB / 1.444 GB, free: 5.723 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/1.051, allocations: 148 kB / 1.444 GB, free: 5.578 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/1.054, allocations: 1.58 MB / 1.446 GB, free: 3.941 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/1.054, allocations: 0 / 1.446 GB, free: 3.941 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/1.054, allocations: 68 kB / 1.446 GB, free: 3.875 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-05/1.054, allocations: 36 kB / 1.446 GB, free: 3.84 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002898/1.057, allocations: 1.639 MB / 1.447 GB, free: 2.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.008305/1.065, allocations: 4.464 MB / 1.452 GB, free: 13.55 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/1.068, allocations: 1.108 MB / 1.453 GB, free: 12.44 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008491/1.069, allocations: 439.7 kB / 1.453 GB, free: 12 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/1.069, allocations: 52.92 kB / 1.453 GB, free: 11.95 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/1.07, allocations: 0.7709 MB / 1.454 GB, free: 11.16 MB / 1.154 GB Notification: Performance of pre-optimization done (n=128): time 3.727e-06/1.07, allocations: 4 kB / 1.454 GB, free: 11.16 MB / 1.154 GB Notification: Performance of matching and sorting (n=128): time 0.00492/1.075, allocations: 1.775 MB / 1.456 GB, free: 9.379 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000199/1.075, allocations: 197.2 kB / 1.456 GB, free: 9.145 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/1.077, allocations: 0.8654 MB / 1.457 GB, free: 8.254 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/1.077, allocations: 53.7 kB / 1.457 GB, free: 8.195 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006936/1.078, allocations: 0.6184 MB / 1.457 GB, free: 7.566 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/1.078, allocations: 428.3 kB / 1.458 GB, free: 7.145 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005197/1.079, allocations: 262.7 kB / 1.458 GB, free: 6.879 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002084/1.079, allocations: 353.9 kB / 1.458 GB, free: 6.527 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009776/1.08, allocations: 450.4 kB / 1.459 GB, free: 6.09 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/1.081, allocations: 0.561 MB / 1.459 GB, free: 5.512 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/1.083, allocations: 0.9936 MB / 1.46 GB, free: 4.508 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.083, allocations: 112 / 1.46 GB, free: 4.508 MB / 1.154 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00331/1.087, allocations: 1.356 MB / 1.462 GB, free: 3.141 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/1.087, allocations: 8 kB / 1.462 GB, free: 3.133 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.087, allocations: 0 / 1.462 GB, free: 3.133 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006462/1.087, allocations: 84.83 kB / 1.462 GB, free: 3.047 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/1.088, allocations: 267.6 kB / 1.462 GB, free: 2.785 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/1.091, allocations: 1.545 MB / 1.464 GB, free: 1.117 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/1.092, allocations: 159.1 kB / 1.464 GB, free: 0.9609 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/1.093, allocations: 59.89 kB / 1.464 GB, free: 0.9023 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0008024/1.093, allocations: 341.6 kB / 1.464 GB, free: 0.5586 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003939/1.094, allocations: 127.2 kB / 1.464 GB, free: 444 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004219/1.098, allocations: 1.702 MB / 1.466 GB, free: 14.72 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/1.098, allocations: 20 kB / 1.466 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.098, allocations: 4 kB / 1.466 GB, free: 14.7 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/1.098, allocations: 7.969 kB / 1.466 GB, free: 14.69 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/1.1, allocations: 1.376 MB / 1.467 GB, free: 13.27 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.1, allocations: 0 / 1.467 GB, free: 13.27 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/1.101, allocations: 223.6 kB / 1.467 GB, free: 13.05 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004929/1.102, allocations: 72.8 kB / 1.468 GB, free: 12.97 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001278/1.102, allocations: 39.95 kB / 1.468 GB, free: 12.93 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/1.104, allocations: 1.567 MB / 1.469 GB, free: 11.25 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.104, allocations: 0 / 1.469 GB, free: 11.25 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/1.108, allocations: 1.418 MB / 1.47 GB, free: 9.809 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007892/1.108, allocations: 294.7 kB / 1.471 GB, free: 9.52 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003263/1.109, allocations: 39.88 kB / 1.471 GB, free: 9.48 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/1.11, allocations: 79.92 kB / 1.471 GB, free: 9.402 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/1.11, allocations: 125.1 kB / 1.471 GB, free: 9.277 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/1.11, allocations: 47.97 kB / 1.471 GB, free: 9.23 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001185/1.111, allocations: 0.6464 MB / 1.472 GB, free: 8.574 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/1.111, allocations: 0 / 1.472 GB, free: 8.574 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001944/1.113, allocations: 0.4908 MB / 1.472 GB, free: 8.082 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002449/1.116, allocations: 0.6345 MB / 1.473 GB, free: 7.617 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002916/1.119, allocations: 1.208 MB / 1.474 GB, free: 6.398 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.119, allocations: 8.188 kB / 1.474 GB, free: 6.391 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/1.12, allocations: 0.6854 MB / 1.475 GB, free: 5.691 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/1.122, allocations: 365.3 kB / 1.475 GB, free: 5.359 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005632/1.127, allocations: 2.607 MB / 1.478 GB, free: 2.719 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/1.129, allocations: 1.236 MB / 1.479 GB, free: 1.449 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001361/1.13, allocations: 338.1 kB / 1.479 GB, free: 1.117 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005496/1.131, allocations: 155.3 kB / 1.479 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of SimCode: time 1.293e-06/1.131, allocations: 4 kB / 1.479 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of Templates: time 0.04621/1.177, allocations: 22.86 MB / 1.502 GB, free: 10.29 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.08875699620694]