Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.0009279/0.0009279, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009876/0.0009876, allocations: 177 kB / 23.36 MB, free: 1.133 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.9084/0.9084, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.298/2.298, allocations: 438.8 MB / 0.6826 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8385 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.203e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.0045/0.004512, allocations: 4.751 MB / 0.8432 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1224/0.1269, allocations: 146.2 MB / 0.986 GB, free: 6.66 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006244/0.1275, allocations: 15.88 kB / 0.986 GB, free: 6.645 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.128, allocations: 202.1 kB / 0.9862 GB, free: 6.445 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.1293, allocations: 0.629 MB / 0.9868 GB, free: 5.812 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1305, allocations: 0.8764 MB / 0.9877 GB, free: 4.934 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0009676/0.1315, allocations: 1.545 MB / 0.9892 GB, free: 3.383 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004463/0.1319, allocations: 418 kB / 0.9896 GB, free: 2.941 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006576/0.1326, allocations: 0.8185 MB / 0.9904 GB, free: 2.121 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003361/0.1329, allocations: 410.8 kB / 0.9908 GB, free: 1.719 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.133, allocations: 116 kB / 0.9909 GB, free: 1.605 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005101/0.1335, allocations: 0.4993 MB / 0.9914 GB, free: 1.105 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.1337, allocations: 318.9 kB / 0.9917 GB, free: 0.793 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.134, allocations: 398.9 kB / 0.9921 GB, free: 412 kB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009648/0.1349, allocations: 1.292 MB / 0.9933 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1349, allocations: 0 / 0.9933 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1349, allocations: 0 / 0.9933 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.1349, allocations: 0 / 0.9933 GB, free: 15.11 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001327/0.1363, allocations: 1.42 MB / 0.9947 GB, free: 13.65 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.1363, allocations: 12.02 kB / 0.9947 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009083/0.1372, allocations: 360 kB / 0.9951 GB, free: 13.29 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006278/0.1378, allocations: 0.5862 MB / 0.9956 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.125e-05/0.1379, allocations: 78.11 kB / 0.9957 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.836e-05/0.138, allocations: 100 kB / 0.9958 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008782/0.1388, allocations: 0.9147 MB / 0.9967 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.1389, allocations: 0 / 0.9967 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.1389, allocations: 40 kB / 0.9967 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.1389, allocations: 20 kB / 0.9968 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000577/0.1395, allocations: 0.6025 MB / 0.9973 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.1413, allocations: 1.683 MB / 0.999 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.1418, allocations: 457 kB / 0.9994 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.142, allocations: 147.8 kB / 0.9996 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.921e-05/0.142, allocations: 28.97 kB / 0.9996 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/0.1424, allocations: 495.3 kB / 1 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=98): time 1.773e-06/0.1424, allocations: 0 / 1 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of matching and sorting (n=98): time 0.001016/0.1434, allocations: 0.6239 MB / 1.001 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.1434, allocations: 200.9 kB / 1.001 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.1438, allocations: 0.525 MB / 1.001 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.1438, allocations: 49.7 kB / 1.001 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.144, allocations: 342.5 kB / 1.002 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.1442, allocations: 325.2 kB / 1.002 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.1443, allocations: 198.4 kB / 1.002 GB, free: 5.633 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1444, allocations: 398.6 kB / 1.003 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.1446, allocations: 112.8 kB / 1.003 GB, free: 5.121 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.1448, allocations: 331.6 kB / 1.003 GB, free: 4.754 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000711/0.1455, allocations: 373.2 kB / 1.003 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1455, allocations: 0 / 1.003 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0006771/0.1462, allocations: 0.5066 MB / 1.004 GB, free: 3.855 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1462, allocations: 4 kB / 1.004 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1462, allocations: 4 kB / 1.004 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003853/0.1466, allocations: 124.8 kB / 1.004 GB, free: 3.723 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.147, allocations: 195.7 kB / 1.004 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009216/0.1479, allocations: 1.312 MB / 1.006 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.1482, allocations: 87.52 kB / 1.006 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.356e-05/0.1482, allocations: 31.97 kB / 1.006 GB, free: 2.016 MB / 0.9636 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 (121): * Single equations (assignments): 120 * 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.000178/0.1484, allocations: 179.3 kB / 1.006 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.613e-05/0.1485, allocations: 87.86 kB / 1.006 GB, free: 1.746 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008427/0.1494, allocations: 0.6812 MB / 1.007 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1494, allocations: 12 kB / 1.007 GB, free: 1.035 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.1494, allocations: 0 / 1.007 GB, free: 1.035 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.1494, allocations: 3.984 kB / 1.007 GB, free: 1.031 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.1507, allocations: 1.222 MB / 1.008 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1507, allocations: 0 / 1.008 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.151, allocations: 143.8 kB / 1.008 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002828/0.1512, allocations: 112.8 kB / 1.008 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.1513, allocations: 27.97 kB / 1.008 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007619/0.152, allocations: 1.328 MB / 1.009 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.152, allocations: 0 / 1.009 GB, free: 14.06 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005991/0.1526, allocations: 0.6102 MB / 1.01 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005317/0.1532, allocations: 155.1 kB / 1.01 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.398e-05/0.1532, allocations: 28 kB / 1.01 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.1535, allocations: 39.97 kB / 1.01 GB, free: 13.21 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.1536, allocations: 76.98 kB / 1.01 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.1536, allocations: 27.97 kB / 1.01 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001861/0.1538, allocations: 259.4 kB / 1.01 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.1538, allocations: 0 / 1.01 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004686/0.1542, allocations: 363.1 kB / 1.011 GB, free: 12.5 MB / 0.9792 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 (109): * Single equations (assignments): 96 * 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.00144/0.1557, allocations: 0.7613 MB / 1.012 GB, free: 12 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000607/0.1563, allocations: 0.5566 MB / 1.012 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.1563, allocations: 11.94 kB / 1.012 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.1566, allocations: 390.9 kB / 1.012 GB, free: 11.03 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.1572, allocations: 327.4 kB / 1.013 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.159, allocations: 1.573 MB / 1.014 GB, free: 9.117 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.1591, allocations: 211.4 kB / 1.015 GB, free: 8.891 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003517/0.1594, allocations: 195.3 kB / 1.015 GB, free: 8.695 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/0.16, allocations: 327 kB / 1.015 GB, free: 8.375 MB / 0.9792 GB Notification: Performance of SimCode: time 7.01e-07/0.16, allocations: 0 / 1.015 GB, free: 8.375 MB / 0.9792 GB Notification: Performance of Templates: time 0.01902/0.179, allocations: 17.88 MB / 1.032 GB, free: 6.824 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.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: 5.662617328576744]