Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008655/0.0008655, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001238/0.001238, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9489/0.9489, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.717/1.717, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.637e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002988/0.003015, allocations: 1.656 MB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.004207, allocations: 0.6494 MB / 0.7898 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.902e-05/0.004286, allocations: 0 / 0.7898 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.004462, allocations: 81.2 kB / 0.7899 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.004754, allocations: 102.3 kB / 0.79 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.005134, allocations: 111.6 kB / 0.7901 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.005352, allocations: 132.7 kB / 0.7902 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.147e-05/0.005443, allocations: 4 kB / 0.7902 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.005712, allocations: 101.2 kB / 0.7903 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.005885, allocations: 103.8 kB / 0.7904 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.005911, allocations: 8 kB / 0.7904 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001525/0.006063, allocations: 93.5 kB / 0.7905 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.006127, allocations: 27.92 kB / 0.7905 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.006177, allocations: 31.86 kB / 0.7905 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.006436, allocations: 175.4 kB / 0.7907 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.006439, allocations: 0 / 0.7907 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.71e-07/0.006439, allocations: 1.594 kB / 0.7907 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.006443, allocations: 0 / 0.7907 GB, free: 8.945 MB / 0.7448 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.0006021/0.007045, allocations: 0.5052 MB / 0.7912 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.007085, allocations: 9.688 kB / 0.7912 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.007254, allocations: 28.78 kB / 0.7912 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.007428, allocations: 164.2 kB / 0.7914 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.007443, allocations: 8.375 kB / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.00746, allocations: 10.95 kB / 0.7914 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.007629, allocations: 132 kB / 0.7915 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.007636, allocations: 192 / 0.7915 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.007648, allocations: 8.359 kB / 0.7916 GB, free: 8 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.007654, allocations: 3.938 kB / 0.7916 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.007725, allocations: 53.62 kB / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.008148, allocations: 424 kB / 0.792 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.008294, allocations: 116.3 kB / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.008354, allocations: 70.5 kB / 0.7922 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.008374, allocations: 0 / 0.7922 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.008563, allocations: 183.8 kB / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.008564, allocations: 0.5312 kB / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003377/0.008902, allocations: 248 kB / 0.7926 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.008961, allocations: 110.8 kB / 0.7927 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.00915, allocations: 263.1 kB / 0.793 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.009168, allocations: 25.7 kB / 0.793 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.347e-05/0.009252, allocations: 172.2 kB / 0.7932 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.009291, allocations: 31.72 kB / 0.7932 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.009351, allocations: 43.34 kB / 0.7932 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003919/0.009743, allocations: 0.5092 MB / 0.7937 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.172e-05/0.009795, allocations: 45.69 kB / 0.7938 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.545e-05/0.00986, allocations: 69.05 kB / 0.7938 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.009983, allocations: 134.8 kB / 0.794 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.009985, allocations: 1.75 kB / 0.794 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002376/0.01022, allocations: 212.8 kB / 0.7942 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.01026, allocations: 39.2 kB / 0.7942 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01027, allocations: 0 / 0.7942 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.01028, allocations: 8.516 kB / 0.7942 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.809e-05/0.01037, allocations: 12 kB / 0.7942 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.01037, allocations: 1 kB / 0.7942 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.3e-05/0.01045, allocations: 19.92 kB / 0.7942 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.01046, allocations: 0.875 kB / 0.7942 GB, free: 4.977 MB / 0.7448 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 0.0001176/0.01058, allocations: 205.7 kB / 0.7944 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.01062, allocations: 31.8 kB / 0.7945 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.01078, allocations: 87.2 kB / 0.7946 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01078, allocations: 3.938 kB / 0.7946 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.01078, allocations: 0 / 0.7946 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.01079, allocations: 4 kB / 0.7946 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.01094, allocations: 141.2 kB / 0.7947 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01094, allocations: 0 / 0.7947 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.01099, allocations: 16.48 kB / 0.7947 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01099, allocations: 4 kB / 0.7947 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.011, allocations: 5.906 kB / 0.7947 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.01101, allocations: 3.938 kB / 0.7947 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01101, allocations: 0 / 0.7947 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.0113, allocations: 279.3 kB / 0.795 GB, free: 4.133 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.01136, allocations: 27.88 kB / 0.795 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.01139, allocations: 14.3 kB / 0.795 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-05/0.01145, allocations: 11.94 kB / 0.795 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.01149, allocations: 11.92 kB / 0.7951 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.01151, allocations: 8 kB / 0.7951 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.629e-05/0.0116, allocations: 167.1 kB / 0.7952 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.0116, allocations: 0.5312 kB / 0.7952 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002796/0.01188, allocations: 47.94 kB / 0.7953 GB, free: 3.852 MB / 0.7448 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.0001845/0.01207, allocations: 138.1 kB / 0.7954 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.01228, allocations: 207.3 kB / 0.7956 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01228, allocations: 0 / 0.7956 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.01239, allocations: 137.5 kB / 0.7957 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.0126, allocations: 19.98 kB / 0.7957 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000748/0.01335, allocations: 333.7 kB / 0.7961 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.715e-05/0.0134, allocations: 75.98 kB / 0.7961 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.399e-05/0.01345, allocations: 10.5 kB / 0.7961 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.01356, allocations: 98.19 kB / 0.7962 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of SimCode: time 7.62e-07/0.01356, allocations: 0 / 0.7962 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of Templates: time 0.004804/0.01837, allocations: 1.9 MB / 0.7981 GB, free: 0.8906 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.794170236680657]