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.0008083/0.0008083, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005062/0.005062, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.342/1.342, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.682/2.682, allocations: 462.6 MB / 0.7363 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 13.58 kB / 0.9027 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3052, allocations: 159.6 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001915/0.3072, allocations: 1.33 MB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3083, allocations: 0.6466 MB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.497e-05/0.3084, allocations: 0 / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.3086, allocations: 75.83 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.309, allocations: 99.72 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.3094, allocations: 82.97 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.3095, allocations: 123.7 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.317e-05/0.3096, allocations: 4 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.3098, allocations: 71.75 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.31, allocations: 95.77 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.31, allocations: 7.938 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.3101, allocations: 75.92 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.73e-05/0.3102, allocations: 35.86 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.077e-05/0.3103, allocations: 85.3 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.3105, allocations: 155.7 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3105, allocations: 0 / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3105, allocations: 0 / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.381e-06/0.3106, allocations: 4 kB / 1.061 GB, free: 2.023 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.0006624/0.3112, allocations: 452.6 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3113, allocations: 11.97 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.3113, allocations: 20.75 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.3115, allocations: 211.9 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3116, allocations: 4.375 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.3116, allocations: 8.312 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3118, allocations: 123.6 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.3118, allocations: 4 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3118, allocations: 0 / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3119, allocations: 0 / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.312, allocations: 71.95 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.3124, allocations: 416.8 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/0.3126, allocations: 121.1 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.3128, allocations: 85.78 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.3128, allocations: 4 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.3131, allocations: 162.8 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.542e-06/0.3131, allocations: 0 / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0005882/0.3137, allocations: 339.4 kB / 1.063 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.3137, allocations: 102.8 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.314, allocations: 224.1 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.314, allocations: 33.7 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.3141, allocations: 108.1 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.3141, allocations: 35.47 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.3142, allocations: 21.7 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3143, allocations: 334.7 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-05/0.3144, allocations: 59.97 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.3145, allocations: 81.69 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.3147, allocations: 197.2 kB / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3147, allocations: 0 / 1.064 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003453/0.3151, allocations: 263.1 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.569e-05/0.3151, allocations: 41.69 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3151, allocations: 0 / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3151, allocations: 0 / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.3153, allocations: 19.92 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.3153, allocations: 0 / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.3154, allocations: 19.84 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.3154, allocations: 4 kB / 1.065 GB, free: 14.2 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.0001638/0.3156, allocations: 185.3 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.3156, allocations: 15.81 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.3159, allocations: 99 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3159, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3159, allocations: 8 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3159, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.3162, allocations: 237.4 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3162, allocations: 0 / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.3163, allocations: 12 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3163, allocations: 0 / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.3163, allocations: 7.984 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3163, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3163, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004797/0.3168, allocations: 343.3 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.3169, allocations: 104.8 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.317, allocations: 4.125 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3171, allocations: 15.98 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.3171, allocations: 11.98 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.3172, allocations: 4 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002416/0.3174, allocations: 163.1 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3174, allocations: 7.938 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000275/0.3177, allocations: 44 kB / 1.066 GB, free: 12.84 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.0003116/0.318, allocations: 139.2 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003645/0.3184, allocations: 243.3 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3184, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.3186, allocations: 167.3 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.3189, allocations: 12 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.3196, allocations: 391.2 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.3199, allocations: 0.7238 MB / 1.068 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.3199, allocations: 4 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.32, allocations: 15.44 kB / 1.068 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.32, allocations: 4 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of Templates: time 0.004515/0.3245, allocations: 1.536 MB / 1.069 GB, free: 9.555 MB / 0.8262 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