Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001303/0.001303, allocations: 116.1 kB / 17.08 MB, free: 5.977 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.001286/0.001286, allocations: 193.2 kB / 20.03 MB, free: 3.047 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.396/1.396, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 179] 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.62/2.62, allocations: 437.1 MB / 0.7177 GB, free: 4.516 MB / 0.5606 GB " [Timeout remaining time 177] 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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_10_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_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.91 kB / 1.028 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2926, allocations: 151.6 MB / 1.176 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008819/0.3015, allocations: 6.945 MB / 1.183 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.7621/1.064, allocations: 151.3 MB / 1.33 GB, free: 8.508 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/1.065, allocations: 17.38 kB / 1.33 GB, free: 8.504 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0008463/1.066, allocations: 257.6 kB / 1.331 GB, free: 8.355 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002729/1.068, allocations: 0.8007 MB / 1.331 GB, free: 7.969 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002443/1.071, allocations: 0.9923 MB / 1.332 GB, free: 7.793 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003095/1.074, allocations: 2.138 MB / 1.334 GB, free: 7.133 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/1.076, allocations: 1.019 MB / 1.335 GB, free: 6.574 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/1.077, allocations: 0.8371 MB / 1.336 GB, free: 6.148 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/1.078, allocations: 0.9085 MB / 1.337 GB, free: 5.664 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003201/1.079, allocations: 206.2 kB / 1.337 GB, free: 5.664 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/1.08, allocations: 0.5628 MB / 1.338 GB, free: 5.547 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004853/1.08, allocations: 492.5 kB / 1.338 GB, free: 5.223 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001084/1.082, allocations: 0.9441 MB / 1.339 GB, free: 4.605 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003504/1.085, allocations: 2.587 MB / 1.342 GB, free: 3.496 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.085, allocations: 0 / 1.342 GB, free: 3.496 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.027e-06/1.085, allocations: 0 / 1.342 GB, free: 3.496 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.29e-05/1.085, allocations: 3.938 kB / 1.342 GB, free: 3.492 MB / 1.014 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.004462/1.09, allocations: 2.109 MB / 1.344 GB, free: 2.121 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.09, allocations: 13.14 kB / 1.344 GB, free: 2.117 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/1.091, allocations: 262.4 kB / 1.344 GB, free: 2.016 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/1.092, allocations: 1.001 MB / 1.345 GB, free: 1.367 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/1.093, allocations: 124 kB / 1.345 GB, free: 1.309 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/1.093, allocations: 146.6 kB / 1.345 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00274/1.095, allocations: 1.587 MB / 1.347 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/1.096, allocations: 3.469 kB / 1.347 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/1.096, allocations: 62.56 kB / 1.347 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/1.096, allocations: 38.03 kB / 1.347 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002732/1.098, allocations: 1.639 MB / 1.349 GB, free: 80 kB / 1.014 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.007627/1.106, allocations: 4.551 MB / 1.353 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/1.108, allocations: 1.189 MB / 1.354 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008559/1.109, allocations: 479.2 kB / 1.355 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/1.109, allocations: 48.86 kB / 1.355 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001398/1.111, allocations: 0.7851 MB / 1.355 GB, free: 12.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=128): time 2.835e-06/1.111, allocations: 1.5 kB / 1.355 GB, free: 12.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=128): time 0.00462/1.115, allocations: 1.846 MB / 1.357 GB, free: 11.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/1.116, allocations: 196.4 kB / 1.357 GB, free: 11.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/1.117, allocations: 0.8684 MB / 1.358 GB, free: 11.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/1.117, allocations: 53.14 kB / 1.358 GB, free: 11.01 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005562/1.118, allocations: 0.6217 MB / 1.359 GB, free: 10.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003906/1.118, allocations: 435.4 kB / 1.359 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003909/1.118, allocations: 256 kB / 1.36 GB, free: 10.06 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.119, allocations: 352.2 kB / 1.36 GB, free: 9.738 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008526/1.119, allocations: 451.6 kB / 1.36 GB, free: 9.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/1.12, allocations: 0.5694 MB / 1.361 GB, free: 9.316 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/1.122, allocations: 0.9808 MB / 1.362 GB, free: 8.844 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/1.122, allocations: 0 / 1.362 GB, free: 8.844 MB / 1.029 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002995/1.125, allocations: 1.35 MB / 1.363 GB, free: 8.156 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.125, allocations: 5.312 kB / 1.363 GB, free: 8.156 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.125, allocations: 5.875 kB / 1.363 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/1.126, allocations: 83.33 kB / 1.363 GB, free: 8.113 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.127, allocations: 265.7 kB / 1.364 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/1.129, allocations: 1.654 MB / 1.365 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/1.131, allocations: 145.8 kB / 1.365 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/1.131, allocations: 62.64 kB / 1.365 GB, free: 6.305 MB / 1.029 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.000736/1.132, allocations: 357.7 kB / 1.366 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/1.132, allocations: 127.8 kB / 1.366 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/1.136, allocations: 1.701 MB / 1.368 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/1.136, allocations: 15.12 kB / 1.368 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.136, allocations: 0 / 1.368 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/1.136, allocations: 7.969 kB / 1.368 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/1.138, allocations: 1.404 MB / 1.369 GB, free: 3.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.138, allocations: 3.938 kB / 1.369 GB, free: 3.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009073/1.139, allocations: 220.4 kB / 1.369 GB, free: 3.926 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/1.139, allocations: 72.08 kB / 1.369 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/1.139, allocations: 45.55 kB / 1.369 GB, free: 3.859 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/1.141, allocations: 1.674 MB / 1.371 GB, free: 2.234 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.141, allocations: 3.938 kB / 1.371 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/1.144, allocations: 1.41 MB / 1.372 GB, free: 1.508 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006461/1.145, allocations: 382.4 kB / 1.373 GB, free: 1.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/1.145, allocations: 33.17 kB / 1.373 GB, free: 1.156 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000917/1.146, allocations: 88.41 kB / 1.373 GB, free: 1.109 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002181/1.146, allocations: 109.3 kB / 1.373 GB, free: 1.051 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/1.146, allocations: 54.86 kB / 1.373 GB, free: 1.031 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008663/1.147, allocations: 0.6443 MB / 1.374 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.71e-07/1.147, allocations: 4 kB / 1.374 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001246/1.148, allocations: 0.4898 MB / 1.374 GB, free: 0.5117 MB / 1.029 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.00195/1.15, allocations: 0.6245 MB / 1.375 GB, free: 224 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00255/1.153, allocations: 1.276 MB / 1.376 GB, free: 15.57 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.153, allocations: 3.312 kB / 1.376 GB, free: 15.57 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/1.154, allocations: 0.737 MB / 1.377 GB, free: 15.18 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/1.156, allocations: 355.2 kB / 1.377 GB, free: 14.99 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/1.16, allocations: 2.65 MB / 1.38 GB, free: 13.41 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008347/1.161, allocations: 1.244 MB / 1.381 GB, free: 12.47 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006112/1.162, allocations: 168.5 kB / 1.381 GB, free: 12.41 MB / 1.045 GB Notification: Performance of SimCode: time 7.11e-07/1.162, allocations: 2.094 kB / 1.381 GB, free: 12.41 MB / 1.045 GB Notification: Performance of Templates: time 0.03849/1.2, allocations: 28 MB / 1.408 GB, free: 5.324 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 13.861534011899494]