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.001494/0.001494, allocations: 92.22 kB / 19.65 MB, free: 276 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.001139/0.001139, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.9058/0.9058, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.023/2.023, allocations: 429.5 MB / 0.6732 GB, free: 4.062 MB / 0.6355 GB " [Timeout remaining time 177] 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 2.094e-06/2.094e-06, allocations: 0 / 0.8781 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.142e-05, allocations: 5.266 kB / 0.8781 GB, free: 6.211 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005093/0.005124, allocations: 4.862 MB / 0.8829 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1262/0.1314, allocations: 146.8 MB / 1.026 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007413/0.1321, allocations: 23.88 kB / 1.026 GB, free: 14.04 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000563/0.1327, allocations: 198.1 kB / 1.026 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.1342, allocations: 0.6212 MB / 1.027 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001652/0.1358, allocations: 0.8764 MB / 1.028 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.1372, allocations: 1.545 MB / 1.029 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006211/0.1378, allocations: 398 kB / 1.03 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.139, allocations: 0.8302 MB / 1.031 GB, free: 9.547 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006194/0.1396, allocations: 414.7 kB / 1.031 GB, free: 9.141 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.1398, allocations: 116 kB / 1.031 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008165/0.1406, allocations: 499.4 kB / 1.032 GB, free: 8.539 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.1408, allocations: 314.9 kB / 1.032 GB, free: 8.23 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.1411, allocations: 402.9 kB / 1.032 GB, free: 7.836 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.1426, allocations: 1.284 MB / 1.034 GB, free: 6.547 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1426, allocations: 4 kB / 1.034 GB, free: 6.543 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1426, allocations: 4 kB / 1.034 GB, free: 6.539 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.887e-05/0.1426, allocations: 0 / 1.034 GB, free: 6.539 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.001697/0.1443, allocations: 1.572 MB / 1.035 GB, free: 4.918 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1443, allocations: 8.031 kB / 1.035 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.1454, allocations: 387.3 kB / 1.035 GB, free: 4.531 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007496/0.1462, allocations: 0.7267 MB / 1.036 GB, free: 3.777 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/0.1462, allocations: 74.12 kB / 1.036 GB, free: 3.703 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.068e-05/0.1463, allocations: 99.98 kB / 1.036 GB, free: 3.605 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009459/0.1472, allocations: 0.979 MB / 1.037 GB, free: 2.531 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1473, allocations: 7.922 kB / 1.037 GB, free: 2.523 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.768e-05/0.1473, allocations: 48 kB / 1.037 GB, free: 2.477 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.1473, allocations: 20 kB / 1.037 GB, free: 2.457 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009835/0.1483, allocations: 0.8231 MB / 1.038 GB, free: 1.629 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.1508, allocations: 2.379 MB / 1.04 GB, free: 15.2 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000768/0.1516, allocations: 0.5545 MB / 1.041 GB, free: 14.63 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.1518, allocations: 208.6 kB / 1.041 GB, free: 14.43 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-05/0.1519, allocations: 32.98 kB / 1.041 GB, free: 14.39 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005031/0.1524, allocations: 0.53 MB / 1.042 GB, free: 13.82 MB / 1.01 GB Notification: Performance of pre-optimization done (n=98): time 2.154e-06/0.1524, allocations: 0 / 1.042 GB, free: 13.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=98): time 0.001606/0.154, allocations: 0.9329 MB / 1.043 GB, free: 12.88 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/0.154, allocations: 204.8 kB / 1.043 GB, free: 12.63 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.1545, allocations: 0.5893 MB / 1.043 GB, free: 12.03 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.1545, allocations: 57.69 kB / 1.043 GB, free: 11.96 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.1548, allocations: 464.1 kB / 1.044 GB, free: 11.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.1549, allocations: 325.3 kB / 1.044 GB, free: 11.18 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.1551, allocations: 208.2 kB / 1.044 GB, free: 10.97 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002858/0.1554, allocations: 0.5664 MB / 1.045 GB, free: 10.39 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.1557, allocations: 165.9 kB / 1.045 GB, free: 10.23 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.156, allocations: 413.8 kB / 1.046 GB, free: 9.777 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/0.1566, allocations: 451.1 kB / 1.046 GB, free: 9.32 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.1566, allocations: 0 / 1.046 GB, free: 9.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001049/0.1576, allocations: 0.7504 MB / 1.047 GB, free: 8.559 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1576, allocations: 13.86 kB / 1.047 GB, free: 8.547 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1576, allocations: 0 / 1.047 GB, free: 8.547 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004535/0.1581, allocations: 131.6 kB / 1.047 GB, free: 8.414 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.1585, allocations: 199.7 kB / 1.047 GB, free: 8.219 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.1598, allocations: 1.913 MB / 1.049 GB, free: 6.176 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.1602, allocations: 91.44 kB / 1.049 GB, free: 6.086 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.155e-05/0.1602, allocations: 39.97 kB / 1.049 GB, free: 6.047 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.0002207/0.1604, allocations: 223 kB / 1.049 GB, free: 5.82 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.1606, allocations: 131.4 kB / 1.049 GB, free: 5.691 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.1618, allocations: 0.9398 MB / 1.05 GB, free: 4.73 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.1618, allocations: 8 kB / 1.05 GB, free: 4.723 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1618, allocations: 4.109 kB / 1.05 GB, free: 4.719 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1618, allocations: 7.922 kB / 1.05 GB, free: 4.711 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.1639, allocations: 1.771 MB / 1.052 GB, free: 2.879 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1639, allocations: 3.938 kB / 1.052 GB, free: 2.875 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.1642, allocations: 155.8 kB / 1.052 GB, free: 2.723 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003358/0.1646, allocations: 115.6 kB / 1.052 GB, free: 2.605 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.1646, allocations: 23.98 kB / 1.052 GB, free: 2.582 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.1657, allocations: 1.93 MB / 1.054 GB, free: 0.5234 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1657, allocations: 0 / 1.054 GB, free: 0.5234 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.414/0.5796, allocations: 0.9418 MB / 1.055 GB, free: 69.92 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.5799, allocations: 208.1 kB / 1.055 GB, free: 69.92 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.5801, allocations: 31.34 kB / 1.055 GB, free: 69.92 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.5804, allocations: 41.7 kB / 1.055 GB, free: 69.92 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.5805, allocations: 86.22 kB / 1.055 GB, free: 69.92 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.5805, allocations: 36.45 kB / 1.056 GB, free: 69.92 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003172/0.5808, allocations: 401.2 kB / 1.056 GB, free: 69.79 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.5808, allocations: 0 / 1.056 GB, free: 69.79 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007184/0.5816, allocations: 355.6 kB / 1.056 GB, free: 69.79 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.001133/0.5827, allocations: 0.6299 MB / 1.057 GB, free: 69.65 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009996/0.5837, allocations: 0.7396 MB / 1.058 GB, free: 69.47 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5837, allocations: 1.234 kB / 1.058 GB, free: 69.47 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.5842, allocations: 0.5022 MB / 1.058 GB, free: 69.29 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007252/0.5849, allocations: 334.3 kB / 1.058 GB, free: 69.27 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.5871, allocations: 1.605 MB / 1.06 GB, free: 68.55 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.5873, allocations: 205.5 kB / 1.06 GB, free: 68.48 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005029/0.5878, allocations: 272.9 kB / 1.06 GB, free: 68.44 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.588, allocations: 124.7 kB / 1.061 GB, free: 68.44 MB / 1.01 GB Notification: Performance of SimCode: time 1.323e-06/0.588, allocations: 0 / 1.061 GB, free: 68.44 MB / 1.01 GB Notification: Performance of Templates: time 0.02005/0.608, allocations: 17.49 MB / 1.078 GB, free: 66.82 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.2419457719661295]