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.0009886/0.0009886, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009453/0.0009453, allocations: 169 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.9/0.9, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.021/2.021, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.774e-06/1.774e-06, allocations: 0 / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.847e-05, allocations: 7.062 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004755/0.004774, allocations: 4.886 MB / 0.8829 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1192/0.124, allocations: 146.7 MB / 1.026 GB, free: 14.22 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007497/0.1247, allocations: 27.81 kB / 1.026 GB, free: 14.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005156/0.1252, allocations: 206 kB / 1.026 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.1265, allocations: 0.594 MB / 1.027 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.1279, allocations: 0.923 MB / 1.028 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.1291, allocations: 1.561 MB / 1.029 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005225/0.1296, allocations: 413.5 kB / 1.03 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008414/0.1304, allocations: 0.838 MB / 1.031 GB, free: 9.637 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.1308, allocations: 418.8 kB / 1.031 GB, free: 9.227 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.131, allocations: 120 kB / 1.031 GB, free: 9.109 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007098/0.1317, allocations: 0.5032 MB / 1.032 GB, free: 8.605 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.1319, allocations: 318.9 kB / 1.032 GB, free: 8.293 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002742/0.1321, allocations: 403 kB / 1.032 GB, free: 7.898 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.1333, allocations: 1.331 MB / 1.034 GB, free: 6.562 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1333, allocations: 0 / 1.034 GB, free: 6.562 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.884e-06/0.1333, allocations: 8 kB / 1.034 GB, free: 6.555 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.1333, allocations: 0 / 1.034 GB, free: 6.555 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.001615/0.1349, allocations: 1.584 MB / 1.035 GB, free: 4.922 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.135, allocations: 8.031 kB / 1.035 GB, free: 4.914 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.136, allocations: 391.2 kB / 1.036 GB, free: 4.531 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007372/0.1368, allocations: 0.7461 MB / 1.036 GB, free: 3.762 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.097e-05/0.1368, allocations: 78.12 kB / 1.036 GB, free: 3.684 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.527e-05/0.1369, allocations: 96 kB / 1.036 GB, free: 3.59 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009403/0.1378, allocations: 0.9907 MB / 1.037 GB, free: 2.504 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1379, allocations: 0 / 1.037 GB, free: 2.504 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.108e-05/0.1379, allocations: 47.98 kB / 1.037 GB, free: 2.457 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.1379, allocations: 24 kB / 1.037 GB, free: 2.434 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008462/0.1388, allocations: 0.8231 MB / 1.038 GB, free: 1.605 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.1413, allocations: 2.399 MB / 1.041 GB, free: 15.14 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.1423, allocations: 0.6041 MB / 1.041 GB, free: 14.53 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.1425, allocations: 206.6 kB / 1.041 GB, free: 14.33 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.589e-05/0.1426, allocations: 40.91 kB / 1.041 GB, free: 14.29 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004977/0.1431, allocations: 0.5256 MB / 1.042 GB, free: 13.72 MB / 1.01 GB Notification: Performance of pre-optimization done (n=98): time 1.944e-06/0.1431, allocations: 0 / 1.042 GB, free: 13.72 MB / 1.01 GB Notification: Performance of matching and sorting (n=98): time 0.001561/0.1446, allocations: 0.9328 MB / 1.043 GB, free: 12.77 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.1447, allocations: 204.9 kB / 1.043 GB, free: 12.53 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.1452, allocations: 0.5893 MB / 1.044 GB, free: 11.93 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.1452, allocations: 49.7 kB / 1.044 GB, free: 11.88 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.1454, allocations: 468.1 kB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.1456, allocations: 325.3 kB / 1.044 GB, free: 11.09 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.1458, allocations: 212.2 kB / 1.045 GB, free: 10.88 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1459, allocations: 0.5664 MB / 1.045 GB, free: 10.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003212/0.1463, allocations: 169.8 kB / 1.045 GB, free: 10.13 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.1466, allocations: 413.8 kB / 1.046 GB, free: 9.676 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005538/0.1472, allocations: 439.1 kB / 1.046 GB, free: 9.234 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1472, allocations: 0 / 1.046 GB, free: 9.234 MB / 1.01 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001029/0.1482, allocations: 0.7504 MB / 1.047 GB, free: 8.473 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1482, allocations: 4 kB / 1.047 GB, free: 8.469 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1482, allocations: 7.938 kB / 1.047 GB, free: 8.461 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004369/0.1486, allocations: 135.6 kB / 1.047 GB, free: 8.324 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.1491, allocations: 199.7 kB / 1.047 GB, free: 8.129 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/0.1502, allocations: 1.897 MB / 1.049 GB, free: 6.109 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.1505, allocations: 91.48 kB / 1.049 GB, free: 6.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.1506, allocations: 43.97 kB / 1.049 GB, free: 5.977 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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.0002023/0.1508, allocations: 232.3 kB / 1.049 GB, free: 5.738 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.1509, allocations: 123.4 kB / 1.05 GB, free: 5.617 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.1522, allocations: 0.9634 MB / 1.05 GB, free: 4.629 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.1522, allocations: 15.98 kB / 1.051 GB, free: 4.613 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.1522, allocations: 0 / 1.051 GB, free: 4.613 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.1522, allocations: 7.922 kB / 1.051 GB, free: 4.605 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.1542, allocations: 1.814 MB / 1.052 GB, free: 2.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1542, allocations: 0 / 1.052 GB, free: 2.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.1545, allocations: 163.8 kB / 1.052 GB, free: 2.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003347/0.1549, allocations: 123.5 kB / 1.053 GB, free: 2.445 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.1549, allocations: 27.98 kB / 1.053 GB, free: 2.418 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.156, allocations: 1.93 MB / 1.054 GB, free: 368 kB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.156, allocations: 0 / 1.054 GB, free: 368 kB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4048/0.5608, allocations: 0.9708 MB / 1.055 GB, free: 69.91 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002932/0.5611, allocations: 210 kB / 1.056 GB, free: 69.91 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-05/0.5612, allocations: 29.91 kB / 1.056 GB, free: 69.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.5614, allocations: 41.22 kB / 1.056 GB, free: 69.91 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.5616, allocations: 86.3 kB / 1.056 GB, free: 69.91 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.5616, allocations: 36.34 kB / 1.056 GB, free: 69.91 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002958/0.5619, allocations: 404.4 kB / 1.056 GB, free: 69.78 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.5619, allocations: 1.125 kB / 1.056 GB, free: 69.78 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00073/0.5626, allocations: 368.4 kB / 1.057 GB, free: 69.78 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.00119/0.5638, allocations: 0.6575 MB / 1.057 GB, free: 69.64 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001007/0.5648, allocations: 0.7446 MB / 1.058 GB, free: 69.45 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5648, allocations: 2.875 kB / 1.058 GB, free: 69.45 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.5653, allocations: 0.5106 MB / 1.058 GB, free: 69.25 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/0.566, allocations: 324.6 kB / 1.059 GB, free: 69.24 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.5682, allocations: 1.646 MB / 1.06 GB, free: 68.52 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.5683, allocations: 204.1 kB / 1.061 GB, free: 68.44 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004743/0.5688, allocations: 267.8 kB / 1.061 GB, free: 68.41 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.5689, allocations: 122.8 kB / 1.061 GB, free: 68.41 MB / 1.01 GB Notification: Performance of SimCode: time 1.132e-06/0.5689, allocations: 0 / 1.061 GB, free: 68.41 MB / 1.01 GB Notification: Performance of Templates: time 0.01866/0.5876, allocations: 17.66 MB / 1.078 GB, free: 66.76 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.370702705811709]