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.001419/0.001419, 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.001252/0.001252, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.8976/0.8976, allocations: 177.2 MB / 203.4 MB, free: 5.633 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 1.961/1.961, 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.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.393e-06/1.393e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.536e-05/1.675e-05, allocations: 8.062 kB / 0.8782 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004575/0.004592, allocations: 4.804 MB / 0.8829 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1269/0.1315, allocations: 146.6 MB / 1.026 GB, free: 14.42 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007846/0.1323, allocations: 23.81 kB / 1.026 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005187/0.1328, allocations: 198.1 kB / 1.026 GB, free: 14.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.1341, allocations: 0.5862 MB / 1.027 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.1357, allocations: 0.8881 MB / 1.028 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.1368, allocations: 1.518 MB / 1.029 GB, free: 11.19 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005124/0.1373, allocations: 398 kB / 1.03 GB, free: 10.79 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007945/0.1381, allocations: 0.8146 MB / 1.03 GB, free: 9.969 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.1385, allocations: 402.8 kB / 1.031 GB, free: 9.574 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.1386, allocations: 116 kB / 1.031 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006142/0.1392, allocations: 495.4 kB / 1.031 GB, free: 8.977 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.1394, allocations: 310.9 kB / 1.032 GB, free: 8.672 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.1397, allocations: 391 kB / 1.032 GB, free: 8.289 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.1409, allocations: 1.28 MB / 1.033 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1409, allocations: 0 / 1.033 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1409, allocations: 0 / 1.033 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.1409, allocations: 3.938 kB / 1.033 GB, free: 7 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.001608/0.1426, allocations: 1.545 MB / 1.035 GB, free: 5.406 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1426, allocations: 16.02 kB / 1.035 GB, free: 5.391 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009478/0.1435, allocations: 359.3 kB / 1.035 GB, free: 5.039 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007391/0.1443, allocations: 0.7305 MB / 1.036 GB, free: 4.285 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.191e-05/0.1443, allocations: 70.12 kB / 1.036 GB, free: 4.215 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.1444, allocations: 96 kB / 1.036 GB, free: 4.121 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009352/0.1453, allocations: 0.9633 MB / 1.037 GB, free: 3.062 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1454, allocations: 0 / 1.037 GB, free: 3.062 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/0.1454, allocations: 44 kB / 1.037 GB, free: 3.02 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1454, allocations: 20 kB / 1.037 GB, free: 3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000814/0.1462, allocations: 0.8036 MB / 1.038 GB, free: 2.191 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.1487, allocations: 2.337 MB / 1.04 GB, free: 15.79 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000788/0.1495, allocations: 0.537 MB / 1.041 GB, free: 15.25 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.1497, allocations: 210.6 kB / 1.041 GB, free: 15.04 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.306e-05/0.1498, allocations: 28.98 kB / 1.041 GB, free: 15.01 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004919/0.1502, allocations: 0.5144 MB / 1.041 GB, free: 14.45 MB / 1.01 GB Notification: Performance of pre-optimization done (n=94): time 2.154e-06/0.1503, allocations: 0 / 1.041 GB, free: 14.45 MB / 1.01 GB Notification: Performance of matching and sorting (n=94): time 0.001542/0.1518, allocations: 0.9055 MB / 1.042 GB, free: 13.53 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/0.1519, allocations: 204.8 kB / 1.042 GB, free: 13.29 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.1523, allocations: 0.5738 MB / 1.043 GB, free: 12.7 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/0.1524, allocations: 57.69 kB / 1.043 GB, free: 12.64 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.1526, allocations: 456 kB / 1.043 GB, free: 12.19 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.1527, allocations: 309.4 kB / 1.044 GB, free: 11.88 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.1529, allocations: 200.2 kB / 1.044 GB, free: 11.68 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1531, allocations: 0.5586 MB / 1.044 GB, free: 11.11 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.1533, allocations: 157.9 kB / 1.045 GB, free: 10.95 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.1536, allocations: 397.8 kB / 1.045 GB, free: 10.52 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/0.1542, allocations: 423.1 kB / 1.045 GB, free: 10.09 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1542, allocations: 0 / 1.045 GB, free: 10.09 MB / 1.01 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001198/0.1554, allocations: 0.7308 MB / 1.046 GB, free: 9.348 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1554, allocations: 4 kB / 1.046 GB, free: 9.344 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1554, allocations: 0 / 1.046 GB, free: 9.344 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004455/0.1558, allocations: 131.6 kB / 1.046 GB, free: 9.211 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/0.1562, allocations: 195.7 kB / 1.046 GB, free: 9.02 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.1575, allocations: 1.898 MB / 1.048 GB, free: 6.992 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.1578, allocations: 87.47 kB / 1.048 GB, free: 6.906 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.1578, allocations: 44.03 kB / 1.048 GB, free: 6.863 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0001995/0.158, allocations: 223.3 kB / 1.049 GB, free: 6.637 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.1581, allocations: 119.4 kB / 1.049 GB, free: 6.52 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.1593, allocations: 0.9164 MB / 1.05 GB, free: 5.578 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1593, allocations: 8 kB / 1.05 GB, free: 5.57 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1593, allocations: 0 / 1.05 GB, free: 5.57 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1593, allocations: 8.094 kB / 1.05 GB, free: 5.562 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/0.1611, allocations: 1.76 MB / 1.051 GB, free: 3.742 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1611, allocations: 0 / 1.051 GB, free: 3.742 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.1615, allocations: 151.8 kB / 1.051 GB, free: 3.594 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003305/0.1618, allocations: 119.5 kB / 1.052 GB, free: 3.473 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.1618, allocations: 23.98 kB / 1.052 GB, free: 3.449 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.163, allocations: 1.922 MB / 1.053 GB, free: 1.402 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.163, allocations: 4.031 kB / 1.053 GB, free: 1.398 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.164, allocations: 0.9312 MB / 1.054 GB, free: 452 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.1642, allocations: 207 kB / 1.055 GB, free: 244 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.1643, allocations: 27.98 kB / 1.055 GB, free: 216 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.1645, allocations: 55 kB / 1.055 GB, free: 164 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.1646, allocations: 76.98 kB / 1.055 GB, free: 88 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.1646, allocations: 39.97 kB / 1.055 GB, free: 48 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.4213/0.586, allocations: 393 kB / 1.055 GB, free: 73.81 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.3e-07/0.586, allocations: 0 / 1.055 GB, free: 73.81 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001122/0.5871, allocations: 345.4 kB / 1.055 GB, free: 73.81 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.001308/0.5884, allocations: 0.632 MB / 1.056 GB, free: 73.68 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.5895, allocations: 0.7224 MB / 1.057 GB, free: 73.49 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5895, allocations: 0 / 1.057 GB, free: 73.49 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004391/0.59, allocations: 0.4956 MB / 1.057 GB, free: 73.31 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007635/0.5907, allocations: 324.2 kB / 1.058 GB, free: 73.29 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.593, allocations: 1.585 MB / 1.059 GB, free: 72.59 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.5931, allocations: 201.4 kB / 1.059 GB, free: 72.52 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004794/0.5936, allocations: 268.7 kB / 1.06 GB, free: 72.49 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.5938, allocations: 118.1 kB / 1.06 GB, free: 72.49 MB / 1.01 GB Notification: Performance of SimCode: time 4.41e-07/0.5938, allocations: 0.7656 kB / 1.06 GB, free: 72.49 MB / 1.01 GB Notification: Performance of Templates: time 0.01793/0.6117, allocations: 17.13 MB / 1.076 GB, free: 70.91 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.208728530909866]