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.0009435/0.0009435, allocations: 93.06 kB / 19.65 MB, free: 276 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.001038/0.001038, allocations: 165 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 1.015/1.015, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.049/2.049, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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 1.403e-06/1.403e-06, allocations: 0 / 0.8781 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.695e-05, allocations: 5.266 kB / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004522/0.004539, allocations: 4.698 MB / 0.8827 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1246/0.1291, allocations: 146.6 MB / 1.026 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006911/0.1298, allocations: 23.81 kB / 1.026 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005319/0.1303, allocations: 198.1 kB / 1.026 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.1317, allocations: 0.5669 MB / 1.027 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.1331, allocations: 0.8764 MB / 1.027 GB, free: 12.92 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009784/0.1341, allocations: 1.471 MB / 1.029 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005094/0.1346, allocations: 397.8 kB / 1.029 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006013/0.1352, allocations: 0.7407 MB / 1.03 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003669/0.1356, allocations: 414.8 kB / 1.03 GB, free: 9.883 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.1357, allocations: 124 kB / 1.031 GB, free: 9.762 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005902/0.1363, allocations: 0.4954 MB / 1.031 GB, free: 9.266 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.1365, allocations: 319 kB / 1.031 GB, free: 8.953 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004191/0.1369, allocations: 395 kB / 1.032 GB, free: 8.566 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.1382, allocations: 1.281 MB / 1.033 GB, free: 7.281 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1382, allocations: 4 kB / 1.033 GB, free: 7.277 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1382, allocations: 0 / 1.033 GB, free: 7.277 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.1382, allocations: 0 / 1.033 GB, free: 7.277 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.00155/0.1398, allocations: 1.507 MB / 1.034 GB, free: 5.723 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1398, allocations: 12.03 kB / 1.034 GB, free: 5.711 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009044/0.1407, allocations: 343.5 kB / 1.035 GB, free: 5.375 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007671/0.1415, allocations: 0.7278 MB / 1.035 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/0.1415, allocations: 70.12 kB / 1.036 GB, free: 4.555 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.412e-05/0.1416, allocations: 88 kB / 1.036 GB, free: 4.469 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009428/0.1425, allocations: 1.013 MB / 1.037 GB, free: 3.34 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1426, allocations: 4 kB / 1.037 GB, free: 3.336 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.335e-05/0.1426, allocations: 39.98 kB / 1.037 GB, free: 3.297 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.1426, allocations: 24 kB / 1.037 GB, free: 3.273 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008498/0.1435, allocations: 0.7919 MB / 1.037 GB, free: 2.477 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/0.1462, allocations: 2.36 MB / 1.04 GB, free: 56 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008002/0.147, allocations: 0.5107 MB / 1.04 GB, free: 15.54 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.1472, allocations: 177.5 kB / 1.04 GB, free: 15.36 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.534e-05/0.1473, allocations: 28.64 kB / 1.04 GB, free: 15.33 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004879/0.1478, allocations: 0.4946 MB / 1.041 GB, free: 14.79 MB / 1.01 GB Notification: Performance of pre-optimization done (n=87): time 1.994e-06/0.1478, allocations: 0 / 1.041 GB, free: 14.79 MB / 1.01 GB Notification: Performance of matching and sorting (n=87): time 0.001501/0.1493, allocations: 0.8392 MB / 1.042 GB, free: 13.94 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.1493, allocations: 204.9 kB / 1.042 GB, free: 13.7 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004582/0.1498, allocations: 0.5776 MB / 1.042 GB, free: 13.11 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.1498, allocations: 53.69 kB / 1.043 GB, free: 13.05 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.1501, allocations: 451.9 kB / 1.043 GB, free: 12.6 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.1502, allocations: 289.6 kB / 1.043 GB, free: 12.32 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.1504, allocations: 180.2 kB / 1.043 GB, free: 12.13 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1505, allocations: 0.5586 MB / 1.044 GB, free: 11.56 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.1508, allocations: 141.9 kB / 1.044 GB, free: 11.42 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.1511, allocations: 385.8 kB / 1.044 GB, free: 11 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005041/0.1516, allocations: 399.1 kB / 1.045 GB, free: 10.59 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1516, allocations: 0 / 1.045 GB, free: 10.59 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001177/0.1528, allocations: 0.6879 MB / 1.046 GB, free: 9.891 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1528, allocations: 4 kB / 1.046 GB, free: 9.887 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1528, allocations: 4 kB / 1.046 GB, free: 9.883 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/0.1534, allocations: 123.7 kB / 1.046 GB, free: 9.758 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003737/0.1538, allocations: 175.8 kB / 1.046 GB, free: 9.586 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.155, allocations: 1.905 MB / 1.048 GB, free: 7.555 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002744/0.1553, allocations: 82.83 kB / 1.048 GB, free: 7.477 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/0.1553, allocations: 39.95 kB / 1.048 GB, free: 7.438 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.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,$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.0001877/0.1555, allocations: 219 kB / 1.048 GB, free: 7.215 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.1556, allocations: 119.5 kB / 1.048 GB, free: 7.098 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.1568, allocations: 0.8419 MB / 1.049 GB, free: 6.234 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1568, allocations: 8 kB / 1.049 GB, free: 6.227 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.1568, allocations: 0 / 1.049 GB, free: 6.227 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.1568, allocations: 3.984 kB / 1.049 GB, free: 6.223 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.1586, allocations: 1.667 MB / 1.051 GB, free: 4.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1586, allocations: 0 / 1.051 GB, free: 4.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.1589, allocations: 143.8 kB / 1.051 GB, free: 4.359 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003463/0.1593, allocations: 123.5 kB / 1.051 GB, free: 4.234 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.1593, allocations: 27.92 kB / 1.051 GB, free: 4.207 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.1605, allocations: 1.918 MB / 1.053 GB, free: 2.16 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.1605, allocations: 4 kB / 1.053 GB, free: 2.156 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009933/0.1615, allocations: 0.8766 MB / 1.054 GB, free: 1.254 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.1617, allocations: 207.1 kB / 1.054 GB, free: 1.051 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.1618, allocations: 24 kB / 1.054 GB, free: 1.027 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.1621, allocations: 43.95 kB / 1.054 GB, free: 0.9844 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.1622, allocations: 80.8 kB / 1.054 GB, free: 0.9062 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.1622, allocations: 35.97 kB / 1.054 GB, free: 0.8711 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003013/0.1625, allocations: 395 kB / 1.054 GB, free: 500 kB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.1625, allocations: 0 / 1.054 GB, free: 500 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005375/0.163, allocations: 331.1 kB / 1.055 GB, free: 168 kB / 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.3638/0.5268, allocations: 0.6196 MB / 1.055 GB, free: 74.71 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.528, allocations: 0.6759 MB / 1.056 GB, free: 74.52 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.528, allocations: 0.7188 kB / 1.056 GB, free: 74.52 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.5284, allocations: 488.2 kB / 1.056 GB, free: 74.34 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000827/0.5293, allocations: 317.8 kB / 1.057 GB, free: 74.33 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.5314, allocations: 1.519 MB / 1.058 GB, free: 73.64 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.376e-05/0.5315, allocations: 191.6 kB / 1.058 GB, free: 73.57 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004335/0.5319, allocations: 258.9 kB / 1.059 GB, free: 73.54 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.5321, allocations: 111.6 kB / 1.059 GB, free: 73.54 MB / 1.01 GB Notification: Performance of SimCode: time 1.332e-06/0.5321, allocations: 0 / 1.059 GB, free: 73.54 MB / 1.01 GB Notification: Performance of Templates: time 0.01702/0.5491, allocations: 15.84 MB / 1.074 GB, free: 72.1 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.37374457065016]