Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.0014/0.0014, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.00152/0.00152, allocations: 169 kB / 24.05 MB, free: 460 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.9134/0.9134, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.053/2.053, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.026e-06/3.026e-06, allocations: 3.984 kB / 0.8793 GB, free: 6.086 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.798e-05, allocations: 2.312 kB / 0.8793 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004999/0.005017, allocations: 4.62 MB / 0.8839 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1245/0.1295, allocations: 143.8 MB / 1.024 GB, free: 1.113 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008351/0.1303, allocations: 23.81 kB / 1.024 GB, free: 1.09 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006436/0.131, allocations: 198.1 kB / 1.025 GB, free: 0.8945 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.1323, allocations: 0.5785 MB / 1.025 GB, free: 320 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.1338, allocations: 0.8763 MB / 1.026 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001115/0.1349, allocations: 1.463 MB / 1.027 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005344/0.1354, allocations: 402.4 kB / 1.028 GB, free: 13.55 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008381/0.1362, allocations: 0.7835 MB / 1.029 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003441/0.1366, allocations: 378.8 kB / 1.029 GB, free: 12.39 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.1367, allocations: 116 kB / 1.029 GB, free: 12.28 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006131/0.1373, allocations: 495.3 kB / 1.029 GB, free: 11.8 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.1375, allocations: 299 kB / 1.03 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002327/0.1377, allocations: 375.1 kB / 1.03 GB, free: 11.14 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.1388, allocations: 1.253 MB / 1.031 GB, free: 9.879 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1388, allocations: 0 / 1.031 GB, free: 9.879 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1388, allocations: 0 / 1.031 GB, free: 9.879 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.1388, allocations: 4 kB / 1.031 GB, free: 9.875 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001607/0.1404, allocations: 1.511 MB / 1.033 GB, free: 8.316 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1405, allocations: 8.031 kB / 1.033 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000843/0.1413, allocations: 347.5 kB / 1.033 GB, free: 7.969 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006647/0.142, allocations: 0.7064 MB / 1.034 GB, free: 7.234 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.142, allocations: 74.11 kB / 1.034 GB, free: 7.164 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-05/0.1421, allocations: 88 kB / 1.034 GB, free: 7.078 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007082/0.1428, allocations: 0.8812 MB / 1.035 GB, free: 6.098 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1428, allocations: 0 / 1.035 GB, free: 6.098 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.195e-05/0.1429, allocations: 43.98 kB / 1.035 GB, free: 6.055 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.1429, allocations: 24 kB / 1.035 GB, free: 6.031 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006122/0.1435, allocations: 0.6689 MB / 1.036 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002052/0.1455, allocations: 2.204 MB / 1.038 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.1461, allocations: 458.6 kB / 1.038 GB, free: 2.648 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.1463, allocations: 163.3 kB / 1.038 GB, free: 2.484 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.643e-05/0.1463, allocations: 36.56 kB / 1.038 GB, free: 2.449 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005216/0.1468, allocations: 478.4 kB / 1.039 GB, free: 1.938 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=87): time 1.814e-06/0.1468, allocations: 3.938 kB / 1.039 GB, free: 1.934 MB / 0.9948 GB Notification: Performance of matching and sorting (n=87): time 0.001193/0.148, allocations: 0.7571 MB / 1.04 GB, free: 1.164 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.058e-05/0.1481, allocations: 196.9 kB / 1.04 GB, free: 0.9297 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.1484, allocations: 0.5617 MB / 1.04 GB, free: 360 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.787e-05/0.1485, allocations: 53.7 kB / 1.04 GB, free: 300 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002182/0.1487, allocations: 451.8 kB / 1.041 GB, free: 15.84 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.1488, allocations: 289.5 kB / 1.041 GB, free: 15.56 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.149, allocations: 192.1 kB / 1.041 GB, free: 15.36 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.1491, allocations: 0.5663 MB / 1.042 GB, free: 14.79 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.1493, allocations: 109.8 kB / 1.042 GB, free: 14.68 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.1495, allocations: 349.7 kB / 1.042 GB, free: 14.29 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.1499, allocations: 335 kB / 1.043 GB, free: 13.95 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1499, allocations: 4 kB / 1.043 GB, free: 13.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0007825/0.1506, allocations: 0.6098 MB / 1.043 GB, free: 13.32 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.1507, allocations: 4 kB / 1.043 GB, free: 13.32 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1507, allocations: 4.094 kB / 1.043 GB, free: 13.31 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004383/0.1511, allocations: 131.5 kB / 1.043 GB, free: 13.18 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003554/0.1515, allocations: 179.8 kB / 1.043 GB, free: 13 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.1527, allocations: 1.885 MB / 1.045 GB, free: 11 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/0.1532, allocations: 75.55 kB / 1.045 GB, free: 10.93 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.1532, allocations: 31.97 kB / 1.045 GB, free: 10.9 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: 27 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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.0002028/0.1534, allocations: 219.2 kB / 1.046 GB, free: 10.68 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.1536, allocations: 111.5 kB / 1.046 GB, free: 10.57 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.1546, allocations: 0.7755 MB / 1.046 GB, free: 9.77 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.1546, allocations: 12 kB / 1.046 GB, free: 9.758 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.1546, allocations: 0 / 1.046 GB, free: 9.758 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.1546, allocations: 3.984 kB / 1.046 GB, free: 9.754 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.1561, allocations: 1.483 MB / 1.048 GB, free: 8.219 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1561, allocations: 0 / 1.048 GB, free: 8.219 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.1564, allocations: 139.8 kB / 1.048 GB, free: 8.082 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003263/0.1567, allocations: 115.6 kB / 1.048 GB, free: 7.965 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.1567, allocations: 27.92 kB / 1.048 GB, free: 7.938 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.1578, allocations: 1.898 MB / 1.05 GB, free: 5.918 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1578, allocations: 0 / 1.05 GB, free: 5.918 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007959/0.1586, allocations: 0.8141 MB / 1.051 GB, free: 5.078 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.1588, allocations: 191.1 kB / 1.051 GB, free: 4.891 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.1588, allocations: 23.94 kB / 1.051 GB, free: 4.867 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.1591, allocations: 43.95 kB / 1.051 GB, free: 4.824 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.1591, allocations: 68.94 kB / 1.051 GB, free: 4.758 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.1592, allocations: 31.97 kB / 1.051 GB, free: 4.727 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002079/0.1594, allocations: 358.9 kB / 1.052 GB, free: 4.383 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1594, allocations: 0 / 1.052 GB, free: 4.383 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005908/0.16, allocations: 343.1 kB / 1.052 GB, free: 4.047 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: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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: 10 (weaDat.conTim.tNext,weaDat.eqnTim.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001119/0.1611, allocations: 0.6265 MB / 1.052 GB, free: 3.59 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008572/0.1619, allocations: 0.6132 MB / 1.053 GB, free: 2.957 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1619, allocations: 0 / 1.053 GB, free: 2.957 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.1623, allocations: 457.1 kB / 1.054 GB, free: 2.488 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/0.163, allocations: 316.3 kB / 1.054 GB, free: 2.195 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1649, allocations: 1.486 MB / 1.055 GB, free: 0.6719 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.165, allocations: 190.9 kB / 1.055 GB, free: 472 kB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003416/0.1653, allocations: 186.8 kB / 1.056 GB, free: 280 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.386/0.5513, allocations: 366.2 kB / 1.056 GB, free: 75.45 MB / 1.01 GB Notification: Performance of SimCode: time 1.232e-06/0.5513, allocations: 0 / 1.056 GB, free: 75.45 MB / 1.01 GB Notification: Performance of Templates: time 0.01795/0.5693, allocations: 17.13 MB / 1.073 GB, free: 74.21 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.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.497877310030162]