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.001316/0.001316, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001369/0.001369, allocations: 169 kB / 23.27 MB, free: 1.223 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.9286/0.9286, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.196/2.196, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.704e-06/1.704e-06, allocations: 0 / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.632e-05, allocations: 9.203 kB / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004596/0.004612, allocations: 4.771 MB / 0.8944 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1257/0.1304, allocations: 144 MB / 1.035 GB, free: 4.469 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000803/0.1312, allocations: 19.88 kB / 1.035 GB, free: 4.449 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005418/0.1317, allocations: 202 kB / 1.035 GB, free: 4.25 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001432/0.1331, allocations: 0.6056 MB / 1.036 GB, free: 3.641 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.1349, allocations: 0.9153 MB / 1.037 GB, free: 2.723 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001201/0.1361, allocations: 1.565 MB / 1.038 GB, free: 1.148 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005744/0.1366, allocations: 413.5 kB / 1.039 GB, free: 0.7227 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009767/0.1376, allocations: 0.838 MB / 1.039 GB, free: 15.88 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004185/0.138, allocations: 417.1 kB / 1.04 GB, free: 15.48 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.1382, allocations: 120 kB / 1.04 GB, free: 15.36 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006841/0.1389, allocations: 0.5071 MB / 1.04 GB, free: 14.85 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.1391, allocations: 322.9 kB / 1.041 GB, free: 14.54 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.1394, allocations: 395 kB / 1.041 GB, free: 14.15 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.1406, allocations: 1.327 MB / 1.042 GB, free: 12.82 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1406, allocations: 4 kB / 1.042 GB, free: 12.81 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1406, allocations: 3.938 kB / 1.042 GB, free: 12.81 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.1406, allocations: 4 kB / 1.042 GB, free: 12.8 MB / 1.01 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.001745/0.1424, allocations: 1.606 MB / 1.044 GB, free: 11.15 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1424, allocations: 8.031 kB / 1.044 GB, free: 11.14 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.1437, allocations: 383.2 kB / 1.044 GB, free: 10.77 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008221/0.1446, allocations: 0.7305 MB / 1.045 GB, free: 10.02 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.942e-05/0.1446, allocations: 78.12 kB / 1.045 GB, free: 9.938 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.1447, allocations: 95.98 kB / 1.045 GB, free: 9.844 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.1458, allocations: 0.928 MB / 1.046 GB, free: 8.82 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1458, allocations: 3.938 kB / 1.046 GB, free: 8.816 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.728e-05/0.1459, allocations: 43.98 kB / 1.046 GB, free: 8.773 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.1459, allocations: 20 kB / 1.046 GB, free: 8.754 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008519/0.1467, allocations: 0.7118 MB / 1.047 GB, free: 8.039 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.1491, allocations: 2.286 MB / 1.049 GB, free: 5.699 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/0.1499, allocations: 0.541 MB / 1.05 GB, free: 5.148 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.1501, allocations: 170.5 kB / 1.05 GB, free: 4.973 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.156e-05/0.1501, allocations: 60.7 kB / 1.05 GB, free: 4.914 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003883/0.1505, allocations: 0.5025 MB / 1.05 GB, free: 4.367 MB / 1.01 GB Notification: Performance of pre-optimization done (n=98): time 2.274e-06/0.1505, allocations: 112 / 1.05 GB, free: 4.367 MB / 1.01 GB Notification: Performance of matching and sorting (n=98): time 0.001208/0.1517, allocations: 0.8468 MB / 1.051 GB, free: 3.508 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.1518, allocations: 204.9 kB / 1.051 GB, free: 3.266 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.1521, allocations: 0.5772 MB / 1.052 GB, free: 2.676 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.1522, allocations: 53.7 kB / 1.052 GB, free: 2.617 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.1524, allocations: 472 kB / 1.052 GB, free: 2.148 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000303/0.1527, allocations: 329.2 kB / 1.053 GB, free: 1.824 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.1529, allocations: 216.1 kB / 1.053 GB, free: 1.605 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.153, allocations: 0.5779 MB / 1.054 GB, free: 1.016 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.1532, allocations: 121.9 kB / 1.054 GB, free: 0.8945 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.1534, allocations: 369.7 kB / 1.054 GB, free: 496 kB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.1538, allocations: 387 kB / 1.054 GB, free: 92 kB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.1538, allocations: 0 / 1.054 GB, free: 92 kB / 1.01 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.479/0.6329, allocations: 0.6833 MB / 1.055 GB, free: 65.18 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.6329, allocations: 5.312 kB / 1.055 GB, free: 65.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.6329, allocations: 0 / 1.055 GB, free: 65.18 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004341/0.6333, allocations: 126.2 kB / 1.055 GB, free: 65.17 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.6338, allocations: 201.5 kB / 1.055 GB, free: 65.17 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.6348, allocations: 1.873 MB / 1.057 GB, free: 63.45 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.6352, allocations: 87.94 kB / 1.057 GB, free: 63.45 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.6353, allocations: 35.28 kB / 1.057 GB, free: 63.45 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.0003176/0.6356, allocations: 232.7 kB / 1.058 GB, free: 63.29 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.6357, allocations: 122.4 kB / 1.058 GB, free: 63.29 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.6368, allocations: 0.8945 MB / 1.059 GB, free: 63.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.6368, allocations: 11.38 kB / 1.059 GB, free: 63.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.6368, allocations: 6.562 kB / 1.059 GB, free: 63.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.6368, allocations: 4.422 kB / 1.059 GB, free: 63.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.6384, allocations: 1.626 MB / 1.06 GB, free: 62.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6384, allocations: 0 / 1.06 GB, free: 62.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.6387, allocations: 170.5 kB / 1.06 GB, free: 62.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003016/0.639, allocations: 114.8 kB / 1.06 GB, free: 62.79 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.639, allocations: 35.14 kB / 1.06 GB, free: 62.79 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007648/0.6398, allocations: 1.886 MB / 1.062 GB, free: 61.05 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6398, allocations: 4.844 kB / 1.062 GB, free: 61.05 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008099/0.6406, allocations: 0.9039 MB / 1.063 GB, free: 60.77 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.6408, allocations: 212.5 kB / 1.063 GB, free: 60.72 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.881e-05/0.6409, allocations: 26.66 kB / 1.063 GB, free: 60.72 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.6411, allocations: 45.5 kB / 1.063 GB, free: 60.72 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.6412, allocations: 84.34 kB / 1.064 GB, free: 60.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/0.6413, allocations: 38.05 kB / 1.064 GB, free: 60.72 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001885/0.6415, allocations: 368.6 kB / 1.064 GB, free: 60.58 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6415, allocations: 0 / 1.064 GB, free: 60.58 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006636/0.6421, allocations: 374.4 kB / 1.064 GB, free: 60.56 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.001116/0.6432, allocations: 0.6545 MB / 1.065 GB, free: 60.44 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007058/0.6439, allocations: 0.6685 MB / 1.066 GB, free: 60.23 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6439, allocations: 3.875 kB / 1.066 GB, free: 60.23 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003531/0.6443, allocations: 496.4 kB / 1.066 GB, free: 60.04 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006639/0.645, allocations: 331.6 kB / 1.066 GB, free: 60.01 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.6469, allocations: 1.611 MB / 1.068 GB, free: 59.28 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.647, allocations: 207.5 kB / 1.068 GB, free: 59.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004205/0.6474, allocations: 198.3 kB / 1.068 GB, free: 59.16 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005159/0.6479, allocations: 388.2 kB / 1.069 GB, free: 59.1 MB / 1.01 GB Notification: Performance of SimCode: time 7.51e-07/0.6479, allocations: 0 / 1.069 GB, free: 59.1 MB / 1.01 GB Notification: Performance of Templates: time 0.02186/0.6698, allocations: 18.03 MB / 1.086 GB, free: 57.49 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.117643572855741]