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.001245/0.001245, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.00152/0.00152, allocations: 156.4 kB / 23.01 MB, free: 4.605 MB / 14.72 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.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 178] 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.855/2.855, allocations: 394.2 MB / 0.6386 GB, free: 11.99 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 67.89 kB / 1.009 GB, free: 13.69 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9268/0.929, allocations: 181.8 MB / 1.187 GB, free: 13.15 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.004852/0.9338, allocations: 1.612 MB / 1.188 GB, free: 11.91 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.9356, allocations: 0.6304 MB / 1.189 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-05/0.9357, allocations: 1.719 kB / 1.189 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.9359, allocations: 85.28 kB / 1.189 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.9362, allocations: 106 kB / 1.189 GB, free: 11.33 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.9366, allocations: 97.14 kB / 1.189 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.9369, allocations: 132.1 kB / 1.189 GB, free: 11.2 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.441e-05/0.937, allocations: 11.73 kB / 1.189 GB, free: 11.19 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.9372, allocations: 74.36 kB / 1.189 GB, free: 11.15 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.9374, allocations: 114.3 kB / 1.189 GB, free: 11.1 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.9375, allocations: 6.719 kB / 1.189 GB, free: 11.1 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.9376, allocations: 83.3 kB / 1.189 GB, free: 11.06 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.542e-05/0.9377, allocations: 31.92 kB / 1.189 GB, free: 11.04 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.996e-05/0.9378, allocations: 46.22 kB / 1.19 GB, free: 11.01 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.9381, allocations: 176.3 kB / 1.19 GB, free: 10.91 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9381, allocations: 1.25 kB / 1.19 GB, free: 10.91 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9381, allocations: 0 / 1.19 GB, free: 10.91 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.9381, allocations: 4 kB / 1.19 GB, free: 10.9 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008081/0.9389, allocations: 412.2 kB / 1.19 GB, free: 10.51 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.939, allocations: 10.47 kB / 1.19 GB, free: 10.51 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.9392, allocations: 23.73 kB / 1.19 GB, free: 10.5 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.9395, allocations: 163 kB / 1.19 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.9395, allocations: 3.531 kB / 1.19 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.9395, allocations: 7.562 kB / 1.19 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.9397, allocations: 152.1 kB / 1.19 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.9397, allocations: 0 / 1.19 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.9398, allocations: 5.156 kB / 1.19 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.9398, allocations: 1.094 kB / 1.19 GB, free: 10.21 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.9399, allocations: 108.7 kB / 1.191 GB, free: 10.14 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.9403, allocations: 332.5 kB / 1.191 GB, free: 9.816 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.9405, allocations: 139.4 kB / 1.191 GB, free: 9.703 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.9407, allocations: 101.3 kB / 1.191 GB, free: 9.633 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.9407, allocations: 1.125 kB / 1.191 GB, free: 9.633 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002854/0.941, allocations: 214.2 kB / 1.191 GB, free: 9.449 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.941, allocations: 4 kB / 1.191 GB, free: 9.445 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005986/0.9416, allocations: 405.8 kB / 1.192 GB, free: 9.211 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/0.9417, allocations: 110 kB / 1.192 GB, free: 9.082 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.9419, allocations: 213.2 kB / 1.192 GB, free: 8.93 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.9419, allocations: 26.89 kB / 1.192 GB, free: 8.898 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/0.942, allocations: 111.4 kB / 1.192 GB, free: 8.793 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.942, allocations: 41.28 kB / 1.192 GB, free: 8.758 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.9421, allocations: 32.61 kB / 1.192 GB, free: 8.73 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.9423, allocations: 329.1 kB / 1.193 GB, free: 8.406 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.9424, allocations: 90.45 kB / 1.193 GB, free: 8.352 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.9425, allocations: 108.9 kB / 1.193 GB, free: 8.277 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.9427, allocations: 212.2 kB / 1.193 GB, free: 8.133 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.9427, allocations: 0 / 1.193 GB, free: 8.133 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003989/0.9431, allocations: 306.8 kB / 1.193 GB, free: 7.957 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.9432, allocations: 44.03 kB / 1.193 GB, free: 7.918 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.9432, allocations: 0 / 1.193 GB, free: 7.918 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9432, allocations: 1.25 kB / 1.193 GB, free: 7.918 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.9433, allocations: 11.34 kB / 1.193 GB, free: 7.918 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.9433, allocations: 3.984 kB / 1.193 GB, free: 7.914 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.9434, allocations: 5.812 kB / 1.193 GB, free: 7.914 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.9434, allocations: 3.906 kB / 1.193 GB, free: 7.914 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (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 (10): * Single equations (assignments): 9 * 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.0001749/0.9436, allocations: 188.2 kB / 1.193 GB, free: 7.742 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.9437, allocations: 21.45 kB / 1.193 GB, free: 7.73 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.9439, allocations: 104.5 kB / 1.194 GB, free: 7.652 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.9439, allocations: 1.469 kB / 1.194 GB, free: 7.652 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9439, allocations: 1.219 kB / 1.194 GB, free: 7.652 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.9439, allocations: 0 / 1.194 GB, free: 7.652 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.9441, allocations: 172.5 kB / 1.194 GB, free: 7.484 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.9441, allocations: 1.094 kB / 1.194 GB, free: 7.484 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.9441, allocations: 12.72 kB / 1.194 GB, free: 7.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.9441, allocations: 5.219 kB / 1.194 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.9441, allocations: 2.969 kB / 1.194 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.9441, allocations: 1.594 kB / 1.194 GB, free: 7.477 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.9442, allocations: 7.875 kB / 1.194 GB, free: 7.469 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.9447, allocations: 367.9 kB / 1.194 GB, free: 7.238 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-05/0.9447, allocations: 29.41 kB / 1.194 GB, free: 7.219 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.9448, allocations: 8.125 kB / 1.194 GB, free: 7.215 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.9449, allocations: 8.422 kB / 1.194 GB, free: 7.211 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.9449, allocations: 11.89 kB / 1.194 GB, free: 7.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.945, allocations: 5.531 kB / 1.194 GB, free: 7.203 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001593/0.9451, allocations: 169.6 kB / 1.194 GB, free: 7.086 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.9451, allocations: 0 / 1.194 GB, free: 7.086 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002758/0.9454, allocations: 41.97 kB / 1.194 GB, free: 7.082 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0002017/0.9456, allocations: 134.8 kB / 1.195 GB, free: 6.977 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003909/0.946, allocations: 280.7 kB / 1.195 GB, free: 6.781 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.946, allocations: 0 / 1.195 GB, free: 6.781 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.9462, allocations: 164.9 kB / 1.195 GB, free: 6.656 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.9464, allocations: 22.52 kB / 1.195 GB, free: 6.641 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/0.9471, allocations: 376.3 kB / 1.195 GB, free: 6.375 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.9473, allocations: 117.3 kB / 1.195 GB, free: 6.273 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.644e-05/0.9473, allocations: 11.78 kB / 1.195 GB, free: 6.266 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.722e-05/0.9474, allocations: 13.78 kB / 1.195 GB, free: 6.254 MB / 1.045 GB Notification: Performance of SimCode: time 4e-07/0.9474, allocations: 4 kB / 1.195 GB, free: 6.25 MB / 1.045 GB Notification: Performance of Templates: time 0.005348/0.9527, allocations: 1.697 MB / 1.197 GB, free: 5.387 MB / 1.045 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.626964604016393]