Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.0008702/0.0008702, 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.0009013/0.0009013, 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.863/0.863, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.356/2.356, allocations: 438.1 MB / 0.682 GB, free: 14.19 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.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.312e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002222/0.002245, allocations: 1.65 MB / 0.8913 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008301/0.003075, allocations: 0.6621 MB / 0.892 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.182e-05/0.003137, allocations: 0 / 0.892 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.003267, allocations: 71.77 kB / 0.8921 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.003494, allocations: 111.6 kB / 0.8922 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.003777, allocations: 107.6 kB / 0.8923 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.003922, allocations: 135.7 kB / 0.8924 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.775e-05/0.003989, allocations: 7.938 kB / 0.8924 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.004163, allocations: 95.81 kB / 0.8925 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.004292, allocations: 107.8 kB / 0.8926 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.004311, allocations: 8 kB / 0.8926 GB, free: 6.816 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.004431, allocations: 95.84 kB / 0.8927 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.004479, allocations: 35.84 kB / 0.8927 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.00452, allocations: 35.91 kB / 0.8928 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.004695, allocations: 159.5 kB / 0.8929 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004697, allocations: 0 / 0.8929 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004698, allocations: 0 / 0.8929 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.985e-06/0.004701, allocations: 0 / 0.8929 GB, free: 6.496 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000452/0.005153, allocations: 0.5169 MB / 0.8934 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.005187, allocations: 12.62 kB / 0.8934 GB, free: 5.926 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.005306, allocations: 36.7 kB / 0.8935 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.005439, allocations: 164.9 kB / 0.8936 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.005449, allocations: 4.375 kB / 0.8936 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.005461, allocations: 8.375 kB / 0.8936 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.005584, allocations: 131.9 kB / 0.8938 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.005591, allocations: 192 / 0.8938 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.0056, allocations: 4.375 kB / 0.8938 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.005605, allocations: 3.938 kB / 0.8938 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.013e-05/0.005656, allocations: 53.67 kB / 0.8938 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.005967, allocations: 419.3 kB / 0.8942 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.006069, allocations: 111.8 kB / 0.8943 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.00611, allocations: 69.12 kB / 0.8944 GB, free: 4.809 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.006126, allocations: 4 kB / 0.8944 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.006268, allocations: 179.8 kB / 0.8946 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.006269, allocations: 0 / 0.8946 GB, free: 4.594 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0002485/0.006517, allocations: 250.5 kB / 0.8948 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.006563, allocations: 114.8 kB / 0.8949 GB, free: 4.188 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.006681, allocations: 253.5 kB / 0.8952 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.006696, allocations: 33.7 kB / 0.8952 GB, free: 3.883 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.006755, allocations: 167.1 kB / 0.8953 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.006786, allocations: 43.67 kB / 0.8954 GB, free: 3.668 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.006828, allocations: 39.34 kB / 0.8954 GB, free: 3.621 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.006938, allocations: 0.5001 MB / 0.8959 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.575e-05/0.006974, allocations: 49.69 kB / 0.896 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.534e-05/0.007019, allocations: 76.97 kB / 0.896 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.028e-05/0.007099, allocations: 118.8 kB / 0.8962 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.007101, allocations: 4 kB / 0.8962 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001601/0.007261, allocations: 204.8 kB / 0.8963 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.007291, allocations: 45.56 kB / 0.8964 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.007295, allocations: 4 kB / 0.8964 GB, free: 2.551 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.007303, allocations: 4 kB / 0.8964 GB, free: 2.547 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.449e-05/0.007368, allocations: 12 kB / 0.8964 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.007372, allocations: 7.984 kB / 0.8964 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.007421, allocations: 11.89 kB / 0.8964 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.007431, allocations: 8 kB / 0.8964 GB, free: 2.508 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (decAng.k,$PRE.decAng.k,decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.099e-05/0.007522, allocations: 201.7 kB / 0.8966 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.007546, allocations: 27.84 kB / 0.8967 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.007918, allocations: 87.2 kB / 0.8967 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.007921, allocations: 8 kB / 0.8967 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.007922, allocations: 0 / 0.8967 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.007926, allocations: 0 / 0.8967 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.008029, allocations: 153.1 kB / 0.8969 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.008031, allocations: 3.984 kB / 0.8969 GB, free: 1.988 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.008059, allocations: 8.25 kB / 0.8969 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.008061, allocations: 0 / 0.8969 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.008071, allocations: 8 kB / 0.8969 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.008073, allocations: 4.328 kB / 0.8969 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.008076, allocations: 3.938 kB / 0.8969 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.008274, allocations: 279.3 kB / 0.8972 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.008317, allocations: 39.83 kB / 0.8972 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.008337, allocations: 4 kB / 0.8972 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.131e-05/0.008378, allocations: 11.94 kB / 0.8972 GB, free: 1.598 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.00841, allocations: 7.984 kB / 0.8972 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.008423, allocations: 7.984 kB / 0.8973 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.532e-05/0.008488, allocations: 179.8 kB / 0.8974 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.008488, allocations: 0 / 0.8974 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001658/0.008654, allocations: 51.92 kB / 0.8975 GB, free: 1.355 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,decAng.tNext,decAng.k,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 8 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.k,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001331/0.008787, allocations: 145.4 kB / 0.8976 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.008941, allocations: 198.4 kB / 0.8978 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.008942, allocations: 0 / 0.8978 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.073e-05/0.009013, allocations: 132.8 kB / 0.8979 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.009162, allocations: 17.7 kB / 0.8979 GB, free: 0.8164 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.009678, allocations: 331.8 kB / 0.8983 GB, free: 468 kB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.717e-05/0.009716, allocations: 83.31 kB / 0.8983 GB, free: 364 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.163e-05/0.009747, allocations: 4.734 kB / 0.8983 GB, free: 352 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.075e-05/0.009828, allocations: 98.19 kB / 0.8984 GB, free: 252 kB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.009829, allocations: 0 / 0.8984 GB, free: 252 kB / 0.8542 GB Notification: Performance of Templates: time 0.003446/0.01327, allocations: 1.883 MB / 0.9003 GB, free: 14.4 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.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.03542055003345]