Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007833/0.007833, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001972/0.001972, allocations: 194.6 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.689/2.689, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.89 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2922, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003045/0.2953, allocations: 1.599 MB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.2964, allocations: 0.6426 MB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.919e-05/0.2965, allocations: 0 / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.2966, allocations: 79.83 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.297, allocations: 107.7 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.2974, allocations: 99.52 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.2976, allocations: 135.6 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.32e-05/0.2977, allocations: 4 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.2979, allocations: 83.72 kB / 1.169 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.2981, allocations: 103.8 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.883e-05/0.2981, allocations: 8 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.2983, allocations: 75.92 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.2983, allocations: 31.92 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.718e-05/0.2984, allocations: 55.59 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.2987, allocations: 175.2 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2987, allocations: 0 / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2987, allocations: 0 / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2987, allocations: 4 kB / 1.17 GB, free: 3.574 MB / 0.92 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.000779/0.2995, allocations: 488.2 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2996, allocations: 8.031 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.835e-05/0.2996, allocations: 16.84 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.2999, allocations: 212 kB / 1.17 GB, free: 2.773 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.2999, allocations: 4.375 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.3, allocations: 4.375 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/0.3002, allocations: 135.6 kB / 1.171 GB, free: 2.621 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.3003, allocations: 3.938 kB / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.3003, allocations: 0 / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3003, allocations: 0 / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3004, allocations: 67.97 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.3009, allocations: 408.9 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.3011, allocations: 121.1 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.3013, allocations: 81.78 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.3013, allocations: 0 / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.3015, allocations: 174.7 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.3015, allocations: 0 / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0005411/0.3021, allocations: 343.3 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.3022, allocations: 118.7 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.3024, allocations: 214.5 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3024, allocations: 29.7 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.3025, allocations: 112.1 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.3025, allocations: 31.73 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.3026, allocations: 33.72 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3027, allocations: 334.8 kB / 1.173 GB, free: 424 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.282e-05/0.3028, allocations: 55.98 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3029, allocations: 80.2 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.3032, allocations: 197.1 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3032, allocations: 0 / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003754/0.3036, allocations: 275 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.3036, allocations: 41.69 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3036, allocations: 4 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3036, allocations: 0 / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3038, allocations: 12 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3038, allocations: 0 / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.3039, allocations: 11.92 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.3039, allocations: 4 kB / 1.173 GB, free: 15.71 MB / 0.9356 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.0001568/0.3041, allocations: 189.8 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.3041, allocations: 15.91 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.3043, allocations: 103 kB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3044, allocations: 4 kB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3044, allocations: 0 / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3044, allocations: 0 / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.3046, allocations: 233.5 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3046, allocations: 384 / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.3047, allocations: 15.92 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3047, allocations: 0 / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.3047, allocations: 8 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.3047, allocations: 4 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3047, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.3052, allocations: 339.4 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.585e-05/0.3052, allocations: 112.9 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.3053, allocations: 4 kB / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3054, allocations: 8 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.3055, allocations: 19.92 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.3055, allocations: 4 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001446/0.3056, allocations: 164.2 kB / 1.174 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3056, allocations: 0 / 1.174 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002675/0.3059, allocations: 47.94 kB / 1.174 GB, free: 14.34 MB / 0.9356 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.0001968/0.3061, allocations: 129.7 kB / 1.174 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003544/0.3065, allocations: 251.3 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3065, allocations: 0 / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.3067, allocations: 167.3 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.3069, allocations: 19.98 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005936/0.3075, allocations: 352.1 kB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.3078, allocations: 0.7278 MB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.3079, allocations: 7.984 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.308, allocations: 15.42 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.308, allocations: 0 / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of Templates: time 0.004556/0.3125, allocations: 1.661 MB / 1.178 GB, free: 10.96 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches