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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00112/0.00112, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001114/0.001114, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.512/2.512, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 68.02 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3151, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002967/0.3181, allocations: 1.629 MB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3192, allocations: 0.6425 MB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.66e-05/0.3193, allocations: 4 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001435/0.3194, allocations: 71.81 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.3197, allocations: 115.2 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.32, allocations: 95.7 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.3202, allocations: 135.6 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.758e-05/0.3203, allocations: 11.98 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.3204, allocations: 75.73 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.3206, allocations: 107.8 kB / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.3206, allocations: 4 kB / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.3208, allocations: 79.92 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.3209, allocations: 27.91 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.145e-05/0.3209, allocations: 59.61 kB / 1.03 GB, free: 15 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.3212, allocations: 167.4 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3212, allocations: 0 / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3212, allocations: 0 / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3212, allocations: 0 / 1.03 GB, free: 14.84 MB / 0.8106 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.000741/0.3219, allocations: 484.3 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.322, allocations: 12.03 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.322, allocations: 16.75 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.3223, allocations: 215.9 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3223, allocations: 384 / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.3224, allocations: 4.375 kB / 1.031 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.3226, allocations: 131.6 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3226, allocations: 4 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3226, allocations: 0 / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3226, allocations: 4 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3228, allocations: 67.97 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.3233, allocations: 408.9 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.3234, allocations: 113.2 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3236, allocations: 85.72 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3236, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.3238, allocations: 178.7 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.3238, allocations: 0 / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005063/0.3243, allocations: 339.4 kB / 1.032 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.3244, allocations: 106.8 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.3246, allocations: 212.4 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.3247, allocations: 29.7 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.714e-05/0.3247, allocations: 112.1 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.3248, allocations: 31.55 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.3248, allocations: 33.7 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.325, allocations: 334.7 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.874e-05/0.3251, allocations: 67.91 kB / 1.033 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.3252, allocations: 85.69 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.3254, allocations: 189 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3254, allocations: 0 / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003136/0.3257, allocations: 267.1 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.3258, allocations: 37.69 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3258, allocations: 0 / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3258, allocations: 4 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.659e-05/0.3259, allocations: 15.94 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3259, allocations: 4 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/0.326, allocations: 11.98 kB / 1.033 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.326, allocations: 4 kB / 1.033 GB, free: 10.98 MB / 0.8106 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.0001555/0.3262, allocations: 176.3 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.3262, allocations: 23.81 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.3265, allocations: 107.1 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3265, allocations: 0 / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3265, allocations: 4 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.3265, allocations: 0 / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.3267, allocations: 237.3 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3267, allocations: 0 / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.3268, allocations: 8 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3268, allocations: 4 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3268, allocations: 4 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3268, allocations: 4 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3268, allocations: 4.219 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.3272, allocations: 343.2 kB / 1.034 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.651e-05/0.3273, allocations: 108.9 kB / 1.034 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.3273, allocations: 4 kB / 1.034 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.3274, allocations: 4 kB / 1.034 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.3275, allocations: 11.98 kB / 1.034 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.3275, allocations: 11.98 kB / 1.034 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000135/0.3277, allocations: 172.5 kB / 1.034 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3277, allocations: 0 / 1.034 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000246/0.3279, allocations: 43.98 kB / 1.035 GB, free: 9.625 MB / 0.8106 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.0001959/0.3281, allocations: 127.2 kB / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.3285, allocations: 247.3 kB / 1.035 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3285, allocations: 0 / 1.035 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.3286, allocations: 167.3 kB / 1.035 GB, free: 9.059 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.3289, allocations: 16 kB / 1.035 GB, free: 9.043 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005803/0.3294, allocations: 336.5 kB / 1.035 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.3298, allocations: 0.7275 MB / 1.036 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.791e-05/0.3298, allocations: 11.98 kB / 1.036 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.3298, allocations: 11.44 kB / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3299, allocations: 0 / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of Templates: time 0.004473/0.3343, allocations: 1.661 MB / 1.038 GB, free: 6.262 MB / 0.8106 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 -s cvode -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/jenkins1/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