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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001115/0.001115, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001144/0.001144, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.398/1.398, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.756/2.756, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 70.91 kB / 0.9116 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2816, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002838/0.2845, allocations: 1.664 MB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00106/0.2856, allocations: 0.6389 MB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.877e-05/0.2857, allocations: 0 / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.2859, allocations: 71.88 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002571/0.2861, allocations: 103.7 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.2864, allocations: 75.88 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.2866, allocations: 139.6 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.2867, allocations: 19.97 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.2869, allocations: 71.75 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.287, allocations: 111.7 kB / 1.071 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.2871, allocations: 8 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.2872, allocations: 83.92 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.2873, allocations: 27.92 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.2873, allocations: 59.59 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.2875, allocations: 159.8 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2876, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2876, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.2876, allocations: 0 / 1.071 GB, free: 7.547 MB / 0.8262 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.0006719/0.2882, allocations: 480.4 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2883, allocations: 12.03 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.2883, allocations: 16.75 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.2885, allocations: 213.8 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2886, allocations: 4.375 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.2886, allocations: 4.375 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.2888, allocations: 131.7 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2888, allocations: 3.938 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.2889, allocations: 8 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2889, allocations: 0 / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.289, allocations: 71.91 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.2894, allocations: 408.8 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.2896, allocations: 117.1 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.2897, allocations: 85.78 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.2897, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.29, allocations: 178.7 kB / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.29, allocations: 0 / 1.073 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004946/0.2905, allocations: 339.2 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.2906, allocations: 106.8 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.2908, allocations: 214.6 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.2908, allocations: 25.7 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.2909, allocations: 112.1 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.291, allocations: 39.55 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.291, allocations: 29.61 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.2911, allocations: 334.8 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.475e-05/0.2912, allocations: 63.97 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.2913, allocations: 79.66 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.2915, allocations: 193.1 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2915, allocations: 0 / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003183/0.2919, allocations: 267.1 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.2919, allocations: 37.69 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2919, allocations: 0 / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.2919, allocations: 4 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.292, allocations: 12.09 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2921, allocations: 4 kB / 1.074 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.2922, allocations: 15.89 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.2922, allocations: 11.92 kB / 1.074 GB, free: 3.68 MB / 0.8262 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.0001457/0.2923, allocations: 180.9 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.2924, allocations: 19.81 kB / 1.075 GB, free: 3.469 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.2926, allocations: 99.38 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2926, allocations: 64 / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.2926, allocations: 8 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2926, allocations: 0 / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.2928, allocations: 237.4 kB / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2929, allocations: 0 / 1.075 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.2929, allocations: 8 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2929, allocations: 7.938 kB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.293, allocations: 8 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.293, allocations: 0 / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.293, allocations: 0 / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.2934, allocations: 338.9 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.2935, allocations: 104.9 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.2935, allocations: 8 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-05/0.2936, allocations: 4 kB / 1.075 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.2937, allocations: 12.08 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.2937, allocations: 15.86 kB / 1.075 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000129/0.2938, allocations: 168.2 kB / 1.075 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2938, allocations: 0 / 1.075 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002892/0.2941, allocations: 43.89 kB / 1.076 GB, free: 2.328 MB / 0.8262 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.0001885/0.2943, allocations: 131.2 kB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.2947, allocations: 247.3 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2947, allocations: 0 / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.2949, allocations: 167.3 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.2951, allocations: 18.41 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.2957, allocations: 385.3 kB / 1.076 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.296, allocations: 0.7274 MB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.517e-05/0.2961, allocations: 12.17 kB / 1.077 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.2962, allocations: 11.44 kB / 1.077 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.2962, allocations: 4 kB / 1.077 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of Templates: time 0.004674/0.3009, allocations: 1.627 MB / 1.079 GB, free: 14.95 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches