Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.001434/0.001434, allocations: 73.88 kB / 20.66 MB, free: 3.848 MB / 18.57 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.001638/0.001638, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9135/0.9135, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.055/2.055, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.8794 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.351e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005055/0.005078, allocations: 4.786 MB / 0.884 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1252/0.1303, allocations: 144 MB / 1.025 GB, free: 0.7812 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008812/0.1312, allocations: 23.81 kB / 1.025 GB, free: 0.7578 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.1317, allocations: 206 kB / 1.025 GB, free: 0.5547 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.1332, allocations: 0.6019 MB / 1.025 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.1348, allocations: 0.9153 MB / 1.026 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001172/0.136, allocations: 1.557 MB / 1.028 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005511/0.1365, allocations: 421.4 kB / 1.028 GB, free: 13.03 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000814/0.1374, allocations: 0.8342 MB / 1.029 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.1378, allocations: 421.2 kB / 1.029 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.1379, allocations: 120 kB / 1.03 GB, free: 11.67 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007337/0.1386, allocations: 0.5033 MB / 1.03 GB, free: 11.16 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.1388, allocations: 318.9 kB / 1.03 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002741/0.1391, allocations: 402.9 kB / 1.031 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.1406, allocations: 1.327 MB / 1.032 GB, free: 9.125 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1406, allocations: 3.938 kB / 1.032 GB, free: 9.121 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1406, allocations: 0 / 1.032 GB, free: 9.121 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.1406, allocations: 0 / 1.032 GB, free: 9.121 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001602/0.1422, allocations: 1.599 MB / 1.034 GB, free: 7.473 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1422, allocations: 16.03 kB / 1.034 GB, free: 7.457 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.1433, allocations: 387.2 kB / 1.034 GB, free: 7.078 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007293/0.144, allocations: 0.7305 MB / 1.035 GB, free: 6.324 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.031e-05/0.1441, allocations: 82.11 kB / 1.035 GB, free: 6.242 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.373e-05/0.1442, allocations: 92 kB / 1.035 GB, free: 6.152 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007884/0.145, allocations: 0.9358 MB / 1.036 GB, free: 5.121 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.145, allocations: 0 / 1.036 GB, free: 5.121 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/0.145, allocations: 36 kB / 1.036 GB, free: 5.086 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.145, allocations: 27.98 kB / 1.036 GB, free: 5.059 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006794/0.1457, allocations: 0.7079 MB / 1.037 GB, free: 4.348 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.1482, allocations: 2.294 MB / 1.039 GB, free: 2 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008373/0.149, allocations: 0.5375 MB / 1.039 GB, free: 1.453 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.1492, allocations: 184 kB / 1.039 GB, free: 1.277 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.997e-05/0.1493, allocations: 36.91 kB / 1.04 GB, free: 1.238 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004279/0.1497, allocations: 0.4987 MB / 1.04 GB, free: 0.6914 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=98): time 2.104e-06/0.1497, allocations: 0 / 1.04 GB, free: 0.6914 MB / 0.9948 GB Notification: Performance of matching and sorting (n=98): time 0.001374/0.1511, allocations: 0.843 MB / 1.041 GB, free: 15.84 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.1512, allocations: 208.8 kB / 1.041 GB, free: 15.59 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.1516, allocations: 0.5811 MB / 1.042 GB, free: 15 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.1516, allocations: 53.7 kB / 1.042 GB, free: 14.94 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.1518, allocations: 468 kB / 1.042 GB, free: 14.47 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.152, allocations: 329.2 kB / 1.042 GB, free: 14.15 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.1522, allocations: 216.1 kB / 1.043 GB, free: 13.93 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.1524, allocations: 0.5701 MB / 1.043 GB, free: 13.35 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.1526, allocations: 133.9 kB / 1.043 GB, free: 13.21 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.1528, allocations: 369.7 kB / 1.044 GB, free: 12.8 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/0.1533, allocations: 387 kB / 1.044 GB, free: 12.41 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1533, allocations: 0 / 1.044 GB, free: 12.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.0009048/0.1542, allocations: 0.6801 MB / 1.045 GB, free: 11.72 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1542, allocations: 4.109 kB / 1.045 GB, free: 11.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1542, allocations: 7.938 kB / 1.045 GB, free: 11.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004268/0.1546, allocations: 119.6 kB / 1.045 GB, free: 11.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004056/0.155, allocations: 203.7 kB / 1.045 GB, free: 11.39 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/0.1563, allocations: 1.875 MB / 1.047 GB, free: 9.395 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.1566, allocations: 87.48 kB / 1.047 GB, free: 9.309 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.1567, allocations: 35.97 kB / 1.047 GB, free: 9.273 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: 33 (solAzi.outsidePolarCircle,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.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 (120): * Single equations (assignments): 119 * 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.0002049/0.1569, allocations: 220.4 kB / 1.047 GB, free: 9.047 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.157, allocations: 127.4 kB / 1.047 GB, free: 8.922 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.1582, allocations: 0.9047 MB / 1.048 GB, free: 7.996 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.1582, allocations: 12 kB / 1.048 GB, free: 7.984 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1582, allocations: 0 / 1.048 GB, free: 7.984 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.1582, allocations: 7.969 kB / 1.048 GB, free: 7.977 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.1601, allocations: 1.631 MB / 1.05 GB, free: 6.293 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1601, allocations: 0 / 1.05 GB, free: 6.293 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003278/0.1604, allocations: 171.7 kB / 1.05 GB, free: 6.125 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003346/0.1607, allocations: 115.5 kB / 1.05 GB, free: 6.008 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.1608, allocations: 27.98 kB / 1.05 GB, free: 5.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.1619, allocations: 1.888 MB / 1.052 GB, free: 3.973 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1619, allocations: 4 kB / 1.052 GB, free: 3.969 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.1629, allocations: 0.9038 MB / 1.053 GB, free: 3.039 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.1632, allocations: 219 kB / 1.053 GB, free: 2.824 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.847e-05/0.1632, allocations: 24 kB / 1.053 GB, free: 2.801 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.1635, allocations: 51.94 kB / 1.053 GB, free: 2.75 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.1636, allocations: 88.83 kB / 1.053 GB, free: 2.664 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.1636, allocations: 27.98 kB / 1.053 GB, free: 2.637 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002184/0.1639, allocations: 370.8 kB / 1.054 GB, free: 2.277 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1639, allocations: 0 / 1.054 GB, free: 2.277 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006582/0.1645, allocations: 375 kB / 1.054 GB, free: 1.91 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 (115): * Single equations (assignments): 102 * 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.00122/0.1657, allocations: 0.6498 MB / 1.055 GB, free: 1.43 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007309/0.1665, allocations: 0.6794 MB / 1.055 GB, free: 0.7305 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1665, allocations: 0 / 1.055 GB, free: 0.7305 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004069/0.1669, allocations: 488.9 kB / 1.056 GB, free: 236 kB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3627/0.5296, allocations: 328.1 kB / 1.056 GB, free: 76.13 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.5319, allocations: 1.607 MB / 1.058 GB, free: 75.42 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.532, allocations: 207.6 kB / 1.058 GB, free: 75.34 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005004/0.5325, allocations: 204.1 kB / 1.058 GB, free: 75.33 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/0.5331, allocations: 388.2 kB / 1.058 GB, free: 75.27 MB / 1.01 GB Notification: Performance of SimCode: time 1.783e-06/0.5331, allocations: 1.062 kB / 1.058 GB, free: 75.27 MB / 1.01 GB Notification: Performance of Templates: time 0.01913/0.5522, allocations: 18.3 MB / 1.076 GB, free: 73.81 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.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.338916550856084]