Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.0009425/0.0009425, allocations: 77.95 kB / 20.66 MB, free: 3.832 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.0009119/0.0009119, allocations: 165 kB / 24.05 MB, free: 452 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 1.021/1.021, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.036/2.036, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8794 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.479e-05, allocations: 4.844 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005956/0.005981, allocations: 4.708 MB / 0.884 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1332/0.1392, allocations: 143.9 MB / 1.024 GB, free: 0.9492 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008717/0.1401, allocations: 23.81 kB / 1.024 GB, free: 0.9258 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005082/0.1406, allocations: 202.1 kB / 1.025 GB, free: 0.7266 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.142, allocations: 0.594 MB / 1.025 GB, free: 132 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.1436, allocations: 0.8803 MB / 1.026 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.1447, allocations: 1.518 MB / 1.028 GB, free: 13.72 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005373/0.1452, allocations: 401.9 kB / 1.028 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000736/0.146, allocations: 0.8147 MB / 1.029 GB, free: 12.49 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.1463, allocations: 402.8 kB / 1.029 GB, free: 12.1 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.1464, allocations: 116 kB / 1.029 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007857/0.1472, allocations: 495.3 kB / 1.03 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/0.1475, allocations: 307 kB / 1.03 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.1478, allocations: 395 kB / 1.03 GB, free: 10.81 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.149, allocations: 1.269 MB / 1.032 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.149, allocations: 0 / 1.032 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.149, allocations: 0 / 1.032 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.149, allocations: 0 / 1.032 GB, free: 9.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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001524/0.1505, allocations: 1.576 MB / 1.033 GB, free: 7.914 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1506, allocations: 8.031 kB / 1.033 GB, free: 7.906 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009263/0.1515, allocations: 359.4 kB / 1.034 GB, free: 7.555 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007112/0.1522, allocations: 0.7188 MB / 1.034 GB, free: 6.812 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/0.1522, allocations: 74.12 kB / 1.034 GB, free: 6.738 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.553e-05/0.1523, allocations: 99.92 kB / 1.034 GB, free: 6.641 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007775/0.1531, allocations: 0.9007 MB / 1.035 GB, free: 5.645 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1531, allocations: 8 kB / 1.035 GB, free: 5.637 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.782e-05/0.1532, allocations: 39.98 kB / 1.035 GB, free: 5.598 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.1532, allocations: 20 kB / 1.035 GB, free: 5.578 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/0.1538, allocations: 0.6845 MB / 1.036 GB, free: 4.891 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.1562, allocations: 2.232 MB / 1.038 GB, free: 2.605 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.1568, allocations: 495 kB / 1.039 GB, free: 2.113 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.157, allocations: 174.6 kB / 1.039 GB, free: 1.941 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.589e-05/0.157, allocations: 32.97 kB / 1.039 GB, free: 1.906 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004328/0.1575, allocations: 0.4909 MB / 1.039 GB, free: 1.367 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=94): time 2.334e-06/0.1575, allocations: 0 / 1.039 GB, free: 1.367 MB / 0.9948 GB Notification: Performance of matching and sorting (n=94): time 0.001366/0.1588, allocations: 0.8117 MB / 1.04 GB, free: 0.5469 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/0.1589, allocations: 208.8 kB / 1.04 GB, free: 308 kB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.1593, allocations: 0.5656 MB / 1.041 GB, free: 15.72 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.1594, allocations: 49.7 kB / 1.041 GB, free: 15.66 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.1596, allocations: 475.9 kB / 1.041 GB, free: 15.19 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.1598, allocations: 305.3 kB / 1.042 GB, free: 14.89 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.16, allocations: 204.1 kB / 1.042 GB, free: 14.68 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1601, allocations: 0.5702 MB / 1.042 GB, free: 14.1 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.1603, allocations: 113.9 kB / 1.043 GB, free: 13.99 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.1605, allocations: 373.7 kB / 1.043 GB, free: 13.57 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003838/0.1609, allocations: 363 kB / 1.043 GB, free: 13.21 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1609, allocations: 0 / 1.043 GB, free: 13.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0009599/0.1619, allocations: 0.6606 MB / 1.044 GB, free: 12.53 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1619, allocations: 4 kB / 1.044 GB, free: 12.53 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1619, allocations: 4 kB / 1.044 GB, free: 12.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004301/0.1623, allocations: 123.6 kB / 1.044 GB, free: 12.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.1627, allocations: 199.7 kB / 1.044 GB, free: 12.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.164, allocations: 1.871 MB / 1.046 GB, free: 10.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.1643, allocations: 87.03 kB / 1.046 GB, free: 10.13 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.1643, allocations: 32.09 kB / 1.046 GB, free: 10.1 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.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 (115): * Single equations (assignments): 114 * 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.0002235/0.1645, allocations: 227 kB / 1.046 GB, free: 9.863 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.1647, allocations: 119.4 kB / 1.046 GB, free: 9.746 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.1658, allocations: 0.8578 MB / 1.047 GB, free: 8.867 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1658, allocations: 8 kB / 1.047 GB, free: 8.859 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.1658, allocations: 0 / 1.047 GB, free: 8.859 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.1658, allocations: 11.97 kB / 1.047 GB, free: 8.848 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.1675, allocations: 1.569 MB / 1.049 GB, free: 7.227 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1675, allocations: 0 / 1.049 GB, free: 7.227 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.1678, allocations: 151.8 kB / 1.049 GB, free: 7.078 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003446/0.1682, allocations: 119.5 kB / 1.049 GB, free: 6.957 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.1682, allocations: 27.98 kB / 1.049 GB, free: 6.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.1694, allocations: 1.892 MB / 1.051 GB, free: 4.922 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1694, allocations: 0 / 1.051 GB, free: 4.922 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008923/0.1703, allocations: 0.8725 MB / 1.052 GB, free: 4.023 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.1705, allocations: 203.1 kB / 1.052 GB, free: 3.824 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.799e-05/0.1706, allocations: 32.03 kB / 1.052 GB, free: 3.793 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.1708, allocations: 43.95 kB / 1.052 GB, free: 3.75 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/0.1709, allocations: 76.86 kB / 1.052 GB, free: 3.676 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.171, allocations: 31.97 kB / 1.052 GB, free: 3.645 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000232/0.1712, allocations: 362.9 kB / 1.053 GB, free: 3.293 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1712, allocations: 0 / 1.053 GB, free: 3.293 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006803/0.1719, allocations: 359.1 kB / 1.053 GB, free: 2.941 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 (108): * Single equations (assignments): 95 * 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.001166/0.173, allocations: 0.6358 MB / 1.054 GB, free: 2.473 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007485/0.1738, allocations: 0.6444 MB / 1.054 GB, free: 1.805 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1738, allocations: 0 / 1.054 GB, free: 1.805 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004067/0.1742, allocations: 477.1 kB / 1.055 GB, free: 1.316 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.1749, allocations: 334.5 kB / 1.055 GB, free: 1.016 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4084/0.5833, allocations: 1.56 MB / 1.056 GB, free: 75.66 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.5834, allocations: 204.4 kB / 1.057 GB, free: 75.58 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006301/0.584, allocations: 197 kB / 1.057 GB, free: 75.57 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005371/0.5845, allocations: 375.6 kB / 1.057 GB, free: 75.51 MB / 1.01 GB Notification: Performance of SimCode: time 2.225e-06/0.5845, allocations: 1.219 kB / 1.057 GB, free: 75.51 MB / 1.01 GB Notification: Performance of Templates: time 0.02161/0.6062, allocations: 17.77 MB / 1.075 GB, free: 74.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.619228438939899]