Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.001337/0.001337, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001418/0.001418, allocations: 161.9 kB / 23.01 MB, free: 4.598 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.436/1.436, allocations: 177.2 MB / 203.4 MB, free: 8.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.93/2.93, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") [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.002108/0.002108, allocations: 72.11 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8174/0.8195, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006871/0.8264, allocations: 6.144 MB / 1.193 GB, free: 12.14 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1853/1.012, allocations: 133.3 MB / 1.323 GB, free: 10.4 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/1.013, allocations: 27.81 kB / 1.323 GB, free: 10.37 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008189/1.014, allocations: 269.4 kB / 1.323 GB, free: 10.11 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002754/1.017, allocations: 0.8223 MB / 1.324 GB, free: 9.281 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002864/1.019, allocations: 1.014 MB / 1.325 GB, free: 8.273 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002992/1.022, allocations: 2.16 MB / 1.327 GB, free: 6.105 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/1.024, allocations: 0.6911 MB / 1.328 GB, free: 5.367 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/1.025, allocations: 0.8721 MB / 1.328 GB, free: 4.492 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/1.026, allocations: 0.8152 MB / 1.329 GB, free: 3.676 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.00032/1.026, allocations: 208 kB / 1.329 GB, free: 3.473 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/1.027, allocations: 0.5739 MB / 1.33 GB, free: 2.898 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004843/1.028, allocations: 498.4 kB / 1.331 GB, free: 2.41 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008947/1.029, allocations: 0.7777 MB / 1.331 GB, free: 1.629 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003535/1.032, allocations: 2.634 MB / 1.334 GB, free: 14.99 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.032, allocations: 0 / 1.334 GB, free: 14.99 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.303e-06/1.032, allocations: 0 / 1.334 GB, free: 14.99 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.372e-05/1.032, allocations: 0 / 1.334 GB, free: 14.99 MB / 1.186 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.004239/1.037, allocations: 2.069 MB / 1.336 GB, free: 12.87 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.037, allocations: 15.97 kB / 1.336 GB, free: 12.85 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004021/1.041, allocations: 463.4 kB / 1.336 GB, free: 12.4 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/1.042, allocations: 0.9447 MB / 1.337 GB, free: 11.42 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/1.043, allocations: 111.1 kB / 1.337 GB, free: 11.31 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/1.043, allocations: 152 kB / 1.338 GB, free: 11.16 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/1.046, allocations: 1.835 MB / 1.339 GB, free: 9.211 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/1.046, allocations: 0 / 1.339 GB, free: 9.211 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/1.046, allocations: 64 kB / 1.339 GB, free: 9.148 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/1.046, allocations: 36 kB / 1.339 GB, free: 9.113 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002873/1.049, allocations: 1.588 MB / 1.341 GB, free: 7.52 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006763/1.056, allocations: 3.44 MB / 1.344 GB, free: 4.016 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/1.058, allocations: 1.107 MB / 1.345 GB, free: 2.902 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008469/1.059, allocations: 443.6 kB / 1.346 GB, free: 2.465 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.872e-05/1.059, allocations: 36.91 kB / 1.346 GB, free: 2.43 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/1.06, allocations: 0.8794 MB / 1.347 GB, free: 1.504 MB / 1.186 GB Notification: Performance of pre-optimization done (n=128): time 3.046e-06/1.06, allocations: 0 / 1.347 GB, free: 1.504 MB / 1.186 GB Notification: Performance of matching and sorting (n=128): time 0.004778/1.065, allocations: 1.755 MB / 1.348 GB, free: 15.74 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/1.065, allocations: 197.2 kB / 1.349 GB, free: 15.51 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/1.066, allocations: 0.7747 MB / 1.349 GB, free: 14.72 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/1.067, allocations: 53.7 kB / 1.349 GB, free: 14.66 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006032/1.067, allocations: 0.638 MB / 1.35 GB, free: 14.02 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004152/1.068, allocations: 436.3 kB / 1.35 GB, free: 13.59 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004131/1.068, allocations: 254.8 kB / 1.351 GB, free: 13.33 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001927/1.068, allocations: 353.9 kB / 1.351 GB, free: 12.98 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009377/1.069, allocations: 454.4 kB / 1.351 GB, free: 12.54 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/1.07, allocations: 0.6904 MB / 1.352 GB, free: 11.8 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/1.072, allocations: 0.9818 MB / 1.353 GB, free: 10.8 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.072, allocations: 4 kB / 1.353 GB, free: 10.8 MB / 1.201 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.003162/1.075, allocations: 1.34 MB / 1.354 GB, free: 9.449 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.075, allocations: 4 kB / 1.354 GB, free: 9.445 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.075, allocations: 4 kB / 1.354 GB, free: 9.441 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006445/1.076, allocations: 84.83 kB / 1.355 GB, free: 9.355 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/1.077, allocations: 263.6 kB / 1.355 GB, free: 9.098 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/1.08, allocations: 1.516 MB / 1.356 GB, free: 7.477 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.081, allocations: 143.2 kB / 1.356 GB, free: 7.336 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.081, allocations: 63.94 kB / 1.356 GB, free: 7.273 MB / 1.201 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.0006859/1.081, allocations: 345.8 kB / 1.357 GB, free: 6.926 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/1.082, allocations: 115.3 kB / 1.357 GB, free: 6.812 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00393/1.086, allocations: 1.701 MB / 1.359 GB, free: 5.098 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/1.086, allocations: 19.98 kB / 1.359 GB, free: 5.078 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/1.086, allocations: 0 / 1.359 GB, free: 5.078 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/1.086, allocations: 3.984 kB / 1.359 GB, free: 5.074 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/1.087, allocations: 0.9738 MB / 1.36 GB, free: 4.066 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.087, allocations: 4 kB / 1.36 GB, free: 4.062 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/1.088, allocations: 219.6 kB / 1.36 GB, free: 3.848 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000477/1.089, allocations: 76.72 kB / 1.36 GB, free: 3.77 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/1.089, allocations: 39.97 kB / 1.36 GB, free: 3.73 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/1.091, allocations: 1.536 MB / 1.361 GB, free: 2.086 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.091, allocations: 0 / 1.361 GB, free: 2.086 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/1.094, allocations: 1.402 MB / 1.363 GB, free: 0.6602 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006924/1.095, allocations: 282.7 kB / 1.363 GB, free: 392 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/1.095, allocations: 39.89 kB / 1.363 GB, free: 352 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/1.096, allocations: 95.84 kB / 1.363 GB, free: 256 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/1.096, allocations: 117.1 kB / 1.363 GB, free: 136 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/1.097, allocations: 55.97 kB / 1.363 GB, free: 80 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000953/1.098, allocations: 0.585 MB / 1.364 GB, free: 15.5 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.098, allocations: 0 / 1.364 GB, free: 15.5 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001291/1.099, allocations: 0.4908 MB / 1.364 GB, free: 15 MB / 1.217 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.002181/1.101, allocations: 0.663 MB / 1.365 GB, free: 14.55 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002747/1.104, allocations: 1.216 MB / 1.366 GB, free: 13.32 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.104, allocations: 4 kB / 1.366 GB, free: 13.32 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/1.105, allocations: 0.697 MB / 1.367 GB, free: 12.61 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/1.107, allocations: 324.4 kB / 1.367 GB, free: 12.31 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005112/1.112, allocations: 2.603 MB / 1.37 GB, free: 9.676 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008303/1.113, allocations: 0.6565 MB / 1.37 GB, free: 8.977 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001132/1.114, allocations: 321.3 kB / 1.371 GB, free: 8.66 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004688/1.114, allocations: 160.4 kB / 1.371 GB, free: 8.504 MB / 1.217 GB Notification: Performance of SimCode: time 1.072e-06/1.114, allocations: 0 / 1.371 GB, free: 8.504 MB / 1.217 GB Notification: Performance of Templates: time 0.04002/1.154, allocations: 21.1 MB / 1.391 GB, free: 3.672 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.029324374976568]