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.0009388/0.0009388, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001539/0.001539, allocations: 169 kB / 23.27 MB, free: 1.223 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.8547/0.8547, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.268/2.268, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 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.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.082e-06/1.082e-06, allocations: 0 / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.792e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004518/0.004536, allocations: 4.747 MB / 0.8944 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1155/0.12, allocations: 144 MB / 1.035 GB, free: 4.43 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007112/0.1207, allocations: 23.81 kB / 1.035 GB, free: 4.406 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004838/0.1212, allocations: 198.1 kB / 1.035 GB, free: 4.211 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.1226, allocations: 0.6211 MB / 1.036 GB, free: 3.586 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.1239, allocations: 0.8764 MB / 1.037 GB, free: 2.707 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009383/0.1248, allocations: 1.541 MB / 1.038 GB, free: 1.156 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004686/0.1253, allocations: 410 kB / 1.039 GB, free: 0.7344 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006736/0.1259, allocations: 0.8224 MB / 1.039 GB, free: 15.91 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.1263, allocations: 410.8 kB / 1.04 GB, free: 15.51 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.1264, allocations: 116 kB / 1.04 GB, free: 15.39 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005509/0.127, allocations: 499.4 kB / 1.04 GB, free: 14.91 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003362/0.1273, allocations: 318.9 kB / 1.041 GB, free: 14.59 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.1275, allocations: 398.9 kB / 1.041 GB, free: 14.2 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.1286, allocations: 1.288 MB / 1.042 GB, free: 12.91 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1286, allocations: 3.938 kB / 1.042 GB, free: 12.91 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1286, allocations: 0 / 1.042 GB, free: 12.91 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.1286, allocations: 4 kB / 1.042 GB, free: 12.9 MB / 1.01 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.001417/0.13, allocations: 1.58 MB / 1.044 GB, free: 11.28 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.13, allocations: 8.031 kB / 1.044 GB, free: 11.27 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009463/0.131, allocations: 391.3 kB / 1.044 GB, free: 10.89 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006644/0.1316, allocations: 0.7267 MB / 1.045 GB, free: 10.13 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.1317, allocations: 74.06 kB / 1.045 GB, free: 10.05 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.053e-05/0.1318, allocations: 92 kB / 1.045 GB, free: 9.965 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007295/0.1325, allocations: 0.9241 MB / 1.046 GB, free: 8.945 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1325, allocations: 0 / 1.046 GB, free: 8.945 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.1326, allocations: 47.97 kB / 1.046 GB, free: 8.898 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1326, allocations: 20 kB / 1.046 GB, free: 8.879 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006122/0.1332, allocations: 0.7118 MB / 1.047 GB, free: 8.164 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.1354, allocations: 2.263 MB / 1.049 GB, free: 5.852 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.1359, allocations: 0.4921 MB / 1.049 GB, free: 5.352 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.1361, allocations: 172.6 kB / 1.05 GB, free: 5.18 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.023e-05/0.1361, allocations: 52.78 kB / 1.05 GB, free: 5.125 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003882/0.1365, allocations: 0.5025 MB / 1.05 GB, free: 4.578 MB / 1.01 GB Notification: Performance of pre-optimization done (n=98): time 1.934e-06/0.1365, allocations: 0 / 1.05 GB, free: 4.578 MB / 1.01 GB Notification: Performance of matching and sorting (n=98): time 0.001238/0.1378, allocations: 0.8509 MB / 1.051 GB, free: 3.715 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.1378, allocations: 204.8 kB / 1.051 GB, free: 3.473 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003534/0.1382, allocations: 0.5851 MB / 1.052 GB, free: 2.875 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.1382, allocations: 53.7 kB / 1.052 GB, free: 2.816 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.1384, allocations: 468 kB / 1.052 GB, free: 2.352 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.1386, allocations: 329.2 kB / 1.053 GB, free: 2.027 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.1388, allocations: 216.1 kB / 1.053 GB, free: 1.809 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1389, allocations: 0.5741 MB / 1.053 GB, free: 1.223 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.1391, allocations: 129.9 kB / 1.053 GB, free: 1.094 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.1393, allocations: 373.7 kB / 1.054 GB, free: 0.6797 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.1397, allocations: 387 kB / 1.054 GB, free: 296 kB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.1397, allocations: 7.922 kB / 1.054 GB, free: 288 kB / 1.01 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.396/0.5356, allocations: 0.6792 MB / 1.055 GB, free: 65.16 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.5357, allocations: 9.344 kB / 1.055 GB, free: 65.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5357, allocations: 0 / 1.055 GB, free: 65.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004903/0.5362, allocations: 126.8 kB / 1.055 GB, free: 65.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004743/0.5366, allocations: 198.7 kB / 1.055 GB, free: 65.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.5378, allocations: 1.873 MB / 1.057 GB, free: 63.43 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/0.5383, allocations: 85.12 kB / 1.057 GB, free: 63.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.5384, allocations: 36.62 kB / 1.057 GB, free: 63.43 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 (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.0003208/0.5387, allocations: 231.2 kB / 1.057 GB, free: 63.26 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.5388, allocations: 124.1 kB / 1.057 GB, free: 63.26 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.5399, allocations: 0.8667 MB / 1.058 GB, free: 63.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/0.5399, allocations: 14.75 kB / 1.058 GB, free: 63.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5399, allocations: 4.594 kB / 1.058 GB, free: 63.19 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.5399, allocations: 6.234 kB / 1.058 GB, free: 63.19 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.5417, allocations: 1.586 MB / 1.06 GB, free: 62.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.5417, allocations: 2.938 kB / 1.06 GB, free: 62.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.542, allocations: 161.6 kB / 1.06 GB, free: 62.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003261/0.5424, allocations: 111.2 kB / 1.06 GB, free: 62.79 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.5424, allocations: 33.31 kB / 1.06 GB, free: 62.79 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000855/0.5433, allocations: 1.882 MB / 1.062 GB, free: 61.05 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5433, allocations: 6.125 kB / 1.062 GB, free: 61.04 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008965/0.5442, allocations: 0.8835 MB / 1.063 GB, free: 60.77 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.5444, allocations: 203.5 kB / 1.063 GB, free: 60.71 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-05/0.5445, allocations: 26.19 kB / 1.063 GB, free: 60.71 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.5447, allocations: 47.39 kB / 1.063 GB, free: 60.71 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.5448, allocations: 84.44 kB / 1.063 GB, free: 60.71 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.5449, allocations: 30.36 kB / 1.063 GB, free: 60.71 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002146/0.5451, allocations: 378 kB / 1.064 GB, free: 60.58 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5451, allocations: 1.031 kB / 1.064 GB, free: 60.58 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007124/0.5458, allocations: 352.1 kB / 1.064 GB, free: 60.55 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 (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.001171/0.547, allocations: 0.6359 MB / 1.065 GB, free: 60.44 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007975/0.5478, allocations: 0.666 MB / 1.065 GB, free: 60.23 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5478, allocations: 1.172 kB / 1.065 GB, free: 60.23 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003796/0.5481, allocations: 489.8 kB / 1.066 GB, free: 60.04 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/0.5488, allocations: 320 kB / 1.066 GB, free: 60.02 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.551, allocations: 1.589 MB / 1.068 GB, free: 59.29 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.5511, allocations: 204.8 kB / 1.068 GB, free: 59.2 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004822/0.5516, allocations: 201.3 kB / 1.068 GB, free: 59.17 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000678/0.5523, allocations: 380.9 kB / 1.068 GB, free: 59.1 MB / 1.01 GB Notification: Performance of SimCode: time 1.362e-06/0.5523, allocations: 0 / 1.068 GB, free: 59.1 MB / 1.01 GB Notification: Performance of Templates: time 0.02552/0.5778, allocations: 17.84 MB / 1.086 GB, free: 57.52 MB / 1.01 GB " [Timeout remaining time 299] 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: 6.139138180762529]