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.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.001593/0.001593, allocations: 110.4 kB / 17.08 MB, free: 5.824 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.001692/0.001692, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.565/1.565, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.268/3.268, allocations: 489.3 MB / 0.7687 GB, free: 3.766 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.91 kB / 1.103 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.108, allocations: 163.8 MB / 1.263 GB, free: 8 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008206/1.116, allocations: 6.927 MB / 1.269 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2222/1.339, allocations: 151.3 MB / 1.417 GB, free: 2.613 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/1.341, allocations: 18.88 kB / 1.417 GB, free: 2.609 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/1.343, allocations: 268.2 kB / 1.417 GB, free: 2.371 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004451/1.347, allocations: 0.788 MB / 1.418 GB, free: 1.754 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00354/1.351, allocations: 0.9922 MB / 1.419 GB, free: 0.9766 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004279/1.355, allocations: 2.149 MB / 1.421 GB, free: 15.64 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/1.358, allocations: 1.027 MB / 1.422 GB, free: 15 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/1.36, allocations: 0.8391 MB / 1.423 GB, free: 14.49 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/1.362, allocations: 0.8981 MB / 1.424 GB, free: 13.84 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007842/1.363, allocations: 207 kB / 1.424 GB, free: 13.84 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/1.365, allocations: 0.5702 MB / 1.425 GB, free: 13.66 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0009713/1.366, allocations: 484.3 kB / 1.425 GB, free: 13.26 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002413/1.368, allocations: 0.9497 MB / 1.426 GB, free: 12.57 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005786/1.374, allocations: 2.589 MB / 1.429 GB, free: 10.66 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.374, allocations: 0 / 1.429 GB, free: 10.66 MB / 1.123 GB Notification: Performance of FrontEnd: time 4.479e-06/1.374, allocations: 3.984 kB / 1.429 GB, free: 10.66 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001258/1.374, allocations: 1.062 kB / 1.429 GB, free: 10.66 MB / 1.123 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.007192/1.382, allocations: 2.107 MB / 1.431 GB, free: 9.039 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.382, allocations: 8.812 kB / 1.431 GB, free: 9.039 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/1.383, allocations: 263.7 kB / 1.431 GB, free: 8.91 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/1.385, allocations: 1.005 MB / 1.432 GB, free: 8.094 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/1.385, allocations: 118.2 kB / 1.432 GB, free: 8.039 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/1.386, allocations: 151.5 kB / 1.432 GB, free: 7.988 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003127/1.389, allocations: 1.579 MB / 1.434 GB, free: 7.004 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/1.389, allocations: 1.094 kB / 1.434 GB, free: 7.004 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/1.389, allocations: 62.06 kB / 1.434 GB, free: 6.957 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/1.389, allocations: 37.41 kB / 1.434 GB, free: 6.957 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/1.392, allocations: 1.637 MB / 1.435 GB, free: 6.16 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00862/1.401, allocations: 4.783 MB / 1.44 GB, free: 2.043 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/1.403, allocations: 1.2 MB / 1.441 GB, free: 0.8398 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008956/1.404, allocations: 475.7 kB / 1.442 GB, free: 380 kB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/1.404, allocations: 49.06 kB / 1.442 GB, free: 332 kB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00147/1.406, allocations: 0.7847 MB / 1.442 GB, free: 15.52 MB / 1.139 GB Notification: Performance of pre-optimization done (n=128): time 7.755e-06/1.406, allocations: 0 / 1.442 GB, free: 15.52 MB / 1.139 GB Notification: Performance of matching and sorting (n=128): time 0.004883/1.411, allocations: 1.854 MB / 1.444 GB, free: 13.64 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/1.411, allocations: 197.2 kB / 1.444 GB, free: 13.41 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/1.412, allocations: 0.8692 MB / 1.445 GB, free: 12.51 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.00016/1.412, allocations: 53.7 kB / 1.445 GB, free: 12.45 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006091/1.413, allocations: 0.6147 MB / 1.446 GB, free: 11.83 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004599/1.413, allocations: 432.2 kB / 1.446 GB, free: 11.41 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004344/1.414, allocations: 258.8 kB / 1.447 GB, free: 11.14 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.414, allocations: 357.9 kB / 1.447 GB, free: 10.79 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009295/1.415, allocations: 450.4 kB / 1.447 GB, free: 10.35 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/1.416, allocations: 0.5649 MB / 1.448 GB, free: 9.773 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/1.418, allocations: 0.9818 MB / 1.449 GB, free: 8.781 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.418, allocations: 0 / 1.449 GB, free: 8.781 MB / 1.139 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.00322/1.421, allocations: 1.356 MB / 1.45 GB, free: 7.414 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/1.421, allocations: 8.094 kB / 1.45 GB, free: 7.406 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.421, allocations: 4 kB / 1.45 GB, free: 7.402 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/1.422, allocations: 84.72 kB / 1.45 GB, free: 7.316 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/1.423, allocations: 263.6 kB / 1.451 GB, free: 7.059 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/1.426, allocations: 1.654 MB / 1.452 GB, free: 5.254 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/1.427, allocations: 151.1 kB / 1.452 GB, free: 5.105 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/1.427, allocations: 55.95 kB / 1.452 GB, free: 5.051 MB / 1.139 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.0007893/1.428, allocations: 356 kB / 1.453 GB, free: 4.695 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/1.428, allocations: 123.2 kB / 1.453 GB, free: 4.574 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/1.432, allocations: 1.71 MB / 1.454 GB, free: 2.848 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/1.432, allocations: 16 kB / 1.454 GB, free: 2.832 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.432, allocations: 112 / 1.454 GB, free: 2.832 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/1.432, allocations: 11.91 kB / 1.455 GB, free: 2.82 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/1.434, allocations: 1.408 MB / 1.456 GB, free: 1.359 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/1.434, allocations: 0 / 1.456 GB, free: 1.359 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009712/1.435, allocations: 215.7 kB / 1.456 GB, free: 1.148 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004762/1.436, allocations: 76.78 kB / 1.456 GB, free: 1.07 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.391e-05/1.436, allocations: 35.97 kB / 1.456 GB, free: 1.035 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002264/1.438, allocations: 1.678 MB / 1.458 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.438, allocations: 3.938 kB / 1.458 GB, free: 15.21 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003258/1.442, allocations: 1.415 MB / 1.459 GB, free: 13.78 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007869/1.442, allocations: 379.8 kB / 1.46 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/1.443, allocations: 39.89 kB / 1.46 GB, free: 13.35 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009412/1.444, allocations: 79.91 kB / 1.46 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/1.444, allocations: 117.2 kB / 1.46 GB, free: 13.15 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/1.444, allocations: 59.95 kB / 1.46 GB, free: 13.09 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001022/1.445, allocations: 0.6425 MB / 1.46 GB, free: 12.44 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.8e-07/1.445, allocations: 4 kB / 1.46 GB, free: 12.44 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001471/1.446, allocations: 0.4909 MB / 1.461 GB, free: 11.95 MB / 1.154 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.002131/1.449, allocations: 0.6205 MB / 1.462 GB, free: 11.51 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002857/1.451, allocations: 1.279 MB / 1.463 GB, free: 10.22 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.451, allocations: 3.984 kB / 1.463 GB, free: 10.21 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/1.453, allocations: 0.7402 MB / 1.464 GB, free: 9.465 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/1.455, allocations: 359 kB / 1.464 GB, free: 9.133 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/1.46, allocations: 2.639 MB / 1.466 GB, free: 6.453 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009897/1.461, allocations: 1.235 MB / 1.468 GB, free: 5.188 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00064/1.461, allocations: 179.3 kB / 1.468 GB, free: 5.012 MB / 1.154 GB Notification: Performance of SimCode: time 1.122e-06/1.461, allocations: 0 / 1.468 GB, free: 5.012 MB / 1.154 GB Notification: Performance of Templates: time 0.04354/1.505, allocations: 27.99 MB / 1.495 GB, free: 9.102 MB / 1.186 GB " [Timeout remaining time 298] 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 -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_2/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: 16.248218450928107]