Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001284/0.001284, allocations: 103.3 kB / 16.36 MB, free: 5.824 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.001043/0.001043, allocations: 193.3 kB / 17.3 MB, free: 5.48 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 61.25 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2791, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002776/0.2819, allocations: 1.609 MB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.283, allocations: 0.6465 MB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.251e-05/0.2831, allocations: 0 / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.2832, allocations: 83.81 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.2835, allocations: 103.7 kB / 0.9535 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.2839, allocations: 95.72 kB / 0.9536 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.284, allocations: 135.6 kB / 0.9537 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.806e-05/0.2841, allocations: 11.98 kB / 0.9537 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.2843, allocations: 71.8 kB / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.2844, allocations: 103.8 kB / 0.9539 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.2845, allocations: 8 kB / 0.9539 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.2846, allocations: 71.94 kB / 0.954 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.2847, allocations: 39.84 kB / 0.954 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/0.2848, allocations: 51.66 kB / 0.9541 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.285, allocations: 175.4 kB / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.285, allocations: 0 / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.856e-06/0.285, allocations: 0 / 0.9542 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.285, allocations: 3.938 kB / 0.9542 GB, free: 4.859 MB / 0.7325 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.0006778/0.2857, allocations: 476.5 kB / 0.9547 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2857, allocations: 8.031 kB / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.2858, allocations: 16.75 kB / 0.9547 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.2861, allocations: 223.6 kB / 0.9549 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2861, allocations: 8.375 kB / 0.9549 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.2861, allocations: 8.375 kB / 0.9549 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.2863, allocations: 127.5 kB / 0.9551 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2864, allocations: 0 / 0.9551 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.2864, allocations: 0 / 0.9551 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.2864, allocations: 0 / 0.9551 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.2865, allocations: 71.95 kB / 0.9551 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.287, allocations: 416.9 kB / 0.9555 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.2872, allocations: 113.2 kB / 0.9556 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.2873, allocations: 81.78 kB / 0.9557 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.2873, allocations: 3.938 kB / 0.9557 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.2876, allocations: 170.7 kB / 0.9559 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.2876, allocations: 0 / 0.9559 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0005216/0.2881, allocations: 343.1 kB / 0.9562 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.2882, allocations: 110.8 kB / 0.9563 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.2884, allocations: 210.8 kB / 0.9565 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.2884, allocations: 29.7 kB / 0.9565 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.2885, allocations: 116.1 kB / 0.9567 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.2885, allocations: 27.56 kB / 0.9567 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.2886, allocations: 33.7 kB / 0.9567 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.2887, allocations: 334.8 kB / 0.957 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.461e-05/0.2888, allocations: 55.98 kB / 0.9571 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.2889, allocations: 77.62 kB / 0.9572 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.2891, allocations: 197.3 kB / 0.9573 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2891, allocations: 4 kB / 0.9573 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003436/0.2895, allocations: 275 kB / 0.9576 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.2895, allocations: 37.7 kB / 0.9576 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2896, allocations: 0 / 0.9576 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2896, allocations: 0 / 0.9576 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.2897, allocations: 15.98 kB / 0.9577 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2897, allocations: 3.938 kB / 0.9577 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.591e-05/0.2898, allocations: 4 kB / 0.9577 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.2898, allocations: 7.984 kB / 0.9577 GB, free: 1 MB / 0.7325 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.0001496/0.29, allocations: 187.5 kB / 0.9579 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.29, allocations: 15.81 kB / 0.9579 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.2902, allocations: 91.08 kB / 0.958 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.2902, allocations: 8.078 kB / 0.958 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.2902, allocations: 0 / 0.958 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.2903, allocations: 3.984 kB / 0.958 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.2905, allocations: 241.4 kB / 0.9582 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.2905, allocations: 3.938 kB / 0.9582 GB, free: 400 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.474e-05/0.2905, allocations: 19.92 kB / 0.9582 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2905, allocations: 0 / 0.9582 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.2906, allocations: 4 kB / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2906, allocations: 0 / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2906, allocations: 0 / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.291, allocations: 335.3 kB / 0.9585 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.2911, allocations: 100.9 kB / 0.9586 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.601e-05/0.2911, allocations: 11.98 kB / 0.9587 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.2912, allocations: 8 kB / 0.9587 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.2913, allocations: 12.11 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.2913, allocations: 8 kB / 0.9587 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001406/0.2915, allocations: 168 kB / 0.9588 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2915, allocations: 0 / 0.9588 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002498/0.2917, allocations: 48 kB / 0.9589 GB, free: 15.64 MB / 0.7481 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.0001938/0.2919, allocations: 135.2 kB / 0.959 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.2923, allocations: 247.3 kB / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2923, allocations: 0 / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.2925, allocations: 163.3 kB / 0.9594 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.2927, allocations: 17.12 kB / 0.9594 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005884/0.2933, allocations: 342.7 kB / 0.9598 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.2936, allocations: 0.7312 MB / 0.9605 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.63e-05/0.2937, allocations: 7.938 kB / 0.9605 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.2937, allocations: 11.44 kB / 0.9605 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.2937, allocations: 0 / 0.9605 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of Templates: time 0.004437/0.2982, allocations: 1.665 MB / 0.9621 GB, free: 12.28 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches