Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.001871/0.001871, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002067/0.002067, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.549/1.549, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 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 3.408/3.408, allocations: 429.4 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.708e-05, allocations: 4.75 kB / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.008037/0.008064, allocations: 4.795 MB / 0.8821 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2066/0.2147, allocations: 146.5 MB / 1.025 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008869/0.2156, allocations: 23.81 kB / 1.025 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006525/0.2162, allocations: 202.1 kB / 1.025 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.218, allocations: 0.6095 MB / 1.026 GB, free: 14.02 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.2201, allocations: 0.8686 MB / 1.027 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002043/0.2222, allocations: 1.557 MB / 1.028 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007486/0.2229, allocations: 398 kB / 1.029 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.224, allocations: 0.7913 MB / 1.029 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006778/0.2247, allocations: 442.7 kB / 1.03 GB, free: 9.953 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.2249, allocations: 132 kB / 1.03 GB, free: 9.824 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.2259, allocations: 0.4993 MB / 1.031 GB, free: 9.324 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.2263, allocations: 330.9 kB / 1.031 GB, free: 9 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005322/0.2269, allocations: 419 kB / 1.031 GB, free: 8.59 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002422/0.2293, allocations: 1.873 MB / 1.033 GB, free: 6.711 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2293, allocations: 3.938 kB / 1.033 GB, free: 6.707 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2293, allocations: 0 / 1.033 GB, free: 6.707 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.2293, allocations: 0 / 1.033 GB, free: 6.707 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.003206/0.2325, allocations: 1.658 MB / 1.035 GB, free: 5 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2325, allocations: 19.95 kB / 1.035 GB, free: 4.98 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/0.2345, allocations: 379.3 kB / 1.035 GB, free: 4.609 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.2359, allocations: 0.7598 MB / 1.036 GB, free: 3.82 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.241e-05/0.236, allocations: 78.11 kB / 1.036 GB, free: 3.746 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.2361, allocations: 96 kB / 1.036 GB, free: 3.652 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.2381, allocations: 1.278 MB / 1.037 GB, free: 2.258 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.2382, allocations: 0 / 1.037 GB, free: 2.258 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-05/0.2383, allocations: 40 kB / 1.037 GB, free: 2.219 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.2383, allocations: 20 kB / 1.037 GB, free: 2.199 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/0.2403, allocations: 1.073 MB / 1.038 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00557/0.2459, allocations: 3.129 MB / 1.041 GB, free: 13.9 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.2476, allocations: 0.7948 MB / 1.042 GB, free: 13.09 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005939/0.2482, allocations: 306.4 kB / 1.042 GB, free: 12.79 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.831e-05/0.2483, allocations: 32.97 kB / 1.042 GB, free: 12.75 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/0.2494, allocations: 0.6706 MB / 1.043 GB, free: 12.04 MB / 1.01 GB Notification: Performance of pre-optimization done (n=98): time 2.384e-06/0.2494, allocations: 0 / 1.043 GB, free: 12.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=98): time 0.003619/0.253, allocations: 1.202 MB / 1.044 GB, free: 10.82 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/0.2532, allocations: 200.9 kB / 1.045 GB, free: 10.59 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/0.2542, allocations: 0.7807 MB / 1.045 GB, free: 9.789 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.2543, allocations: 57.69 kB / 1.045 GB, free: 9.727 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004774/0.2548, allocations: 0.4962 MB / 1.046 GB, free: 9.223 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.2551, allocations: 345.3 kB / 1.046 GB, free: 8.883 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003929/0.2555, allocations: 236.2 kB / 1.046 GB, free: 8.645 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004106/0.2559, allocations: 0.629 MB / 1.047 GB, free: 8.004 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006241/0.2566, allocations: 281.8 kB / 1.047 GB, free: 7.727 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009063/0.2575, allocations: 0.5447 MB / 1.048 GB, free: 7.133 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.259, allocations: 0.6631 MB / 1.048 GB, free: 6.457 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.259, allocations: 3.938 kB / 1.048 GB, free: 6.453 MB / 1.01 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002458/0.2614, allocations: 0.9692 MB / 1.049 GB, free: 5.473 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2615, allocations: 12 kB / 1.049 GB, free: 5.461 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.2615, allocations: 0 / 1.049 GB, free: 5.461 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.2625, allocations: 135.6 kB / 1.05 GB, free: 5.324 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008852/0.2634, allocations: 203.7 kB / 1.05 GB, free: 5.125 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/0.2661, allocations: 2.034 MB / 1.052 GB, free: 2.969 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/0.2668, allocations: 91.42 kB / 1.052 GB, free: 2.879 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.2669, allocations: 47.97 kB / 1.052 GB, free: 2.832 MB / 1.01 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,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.k,$PRE.decAng.k,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 120 * 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.0004997/0.2674, allocations: 283 kB / 1.052 GB, free: 2.547 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/0.2677, allocations: 131.5 kB / 1.052 GB, free: 2.418 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/0.2706, allocations: 1.124 MB / 1.053 GB, free: 1.277 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.2707, allocations: 12 kB / 1.053 GB, free: 1.266 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.2707, allocations: 4 kB / 1.053 GB, free: 1.262 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.2707, allocations: 7.984 kB / 1.053 GB, free: 1.254 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3617/0.6324, allocations: 2.173 MB / 1.055 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.6324, allocations: 4.562 kB / 1.055 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/0.633, allocations: 155.7 kB / 1.056 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007367/0.6337, allocations: 123.9 kB / 1.056 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-05/0.6338, allocations: 35.59 kB / 1.056 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.6354, allocations: 2.052 MB / 1.058 GB, free: 217 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6354, allocations: 0.5312 kB / 1.058 GB, free: 217 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.6374, allocations: 1.142 MB / 1.059 GB, free: 216.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.6378, allocations: 212.7 kB / 1.059 GB, free: 216.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.638, allocations: 29.73 kB / 1.059 GB, free: 216.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/0.6386, allocations: 52.69 kB / 1.059 GB, free: 216.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.6388, allocations: 87.31 kB / 1.059 GB, free: 216.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.6388, allocations: 37.22 kB / 1.059 GB, free: 216.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005371/0.6394, allocations: 0.5051 MB / 1.06 GB, free: 216.6 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.6394, allocations: 2.406 kB / 1.06 GB, free: 216.6 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009313/0.6403, allocations: 363.5 kB / 1.06 GB, free: 216.5 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,decAng.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k,decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.003286/0.6436, allocations: 0.6671 MB / 1.061 GB, free: 216.4 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001566/0.6452, allocations: 0.9566 MB / 1.062 GB, free: 216 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.6452, allocations: 0 / 1.062 GB, free: 216 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008061/0.646, allocations: 0.6228 MB / 1.062 GB, free: 215.7 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.6472, allocations: 328.4 kB / 1.063 GB, free: 215.6 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.6497, allocations: 1.741 MB / 1.064 GB, free: 214.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.65, allocations: 467.9 kB / 1.065 GB, free: 214.6 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006586/0.6507, allocations: 270.9 kB / 1.065 GB, free: 214.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.651, allocations: 115.4 kB / 1.065 GB, free: 214.5 MB / 1.01 GB Notification: Performance of SimCode: time 7.42e-07/0.651, allocations: 0 / 1.065 GB, free: 214.5 MB / 1.01 GB Notification: Performance of Templates: time 0.02411/0.6751, allocations: 16.75 MB / 1.082 GB, free: 212.5 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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: 9.77973959792871]