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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005619/0.005619, allocations: 101 kB / 15.73 MB, free: 6.043 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.00114/0.001141, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.89 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3217, allocations: 157.4 MB / 1.208 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003122/0.3249, allocations: 1.596 MB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.3262, allocations: 0.6509 MB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.981e-05/0.3263, allocations: 4 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.3265, allocations: 79.75 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.3268, allocations: 95.67 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.3272, allocations: 95.77 kB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.3274, allocations: 139.6 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.3276, allocations: 12 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.3277, allocations: 71.84 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.3279, allocations: 107.8 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.3279, allocations: 4 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.3281, allocations: 79.88 kB / 1.211 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.124e-05/0.3282, allocations: 35.84 kB / 1.211 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.739e-05/0.3283, allocations: 63.58 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.3285, allocations: 171.4 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3285, allocations: 0 / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3285, allocations: 0 / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3285, allocations: 0 / 1.211 GB, free: 6.457 MB / 0.9669 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.0007249/0.3293, allocations: 476.4 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3293, allocations: 12.62 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.3294, allocations: 16.75 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.3297, allocations: 211.9 kB / 1.212 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.3297, allocations: 8.375 kB / 1.212 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3297, allocations: 4.375 kB / 1.212 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.33, allocations: 123.7 kB / 1.212 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.33, allocations: 3.938 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.33, allocations: 8 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.33, allocations: 3.984 kB / 1.212 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3301, allocations: 71.91 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.3306, allocations: 408.8 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.3308, allocations: 117.1 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3309, allocations: 81.78 kB / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.3309, allocations: 0 / 1.212 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.3312, allocations: 185.2 kB / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.3312, allocations: 0 / 1.212 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005737/0.3318, allocations: 335.2 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.3319, allocations: 110.8 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.3321, allocations: 216.1 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3321, allocations: 25.7 kB / 1.213 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.3322, allocations: 116.1 kB / 1.213 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.3322, allocations: 35.45 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.3323, allocations: 29.72 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.3324, allocations: 338.8 kB / 1.214 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.325e-05/0.3325, allocations: 51.98 kB / 1.214 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-05/0.3326, allocations: 77.69 kB / 1.214 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.3328, allocations: 197 kB / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3328, allocations: 4 kB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000326/0.3332, allocations: 267.1 kB / 1.214 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.3332, allocations: 37.7 kB / 1.214 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3332, allocations: 0 / 1.214 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3333, allocations: 4 kB / 1.214 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.906e-05/0.3334, allocations: 11.98 kB / 1.214 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.3334, allocations: 4 kB / 1.214 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.3335, allocations: 11.89 kB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.3335, allocations: 11.94 kB / 1.214 GB, free: 2.594 MB / 0.9669 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.3337, allocations: 183.4 kB / 1.214 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.3337, allocations: 19.81 kB / 1.214 GB, free: 2.379 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.3339, allocations: 95.16 kB / 1.215 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3339, allocations: 0 / 1.215 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.334, allocations: 7.984 kB / 1.215 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.334, allocations: 0 / 1.215 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.3342, allocations: 233.8 kB / 1.215 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3342, allocations: 0 / 1.215 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.3342, allocations: 19.98 kB / 1.215 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3343, allocations: 4 kB / 1.215 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.3343, allocations: 4 kB / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.3343, allocations: 240 / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3343, allocations: 3.938 kB / 1.215 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.3347, allocations: 343.2 kB / 1.215 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.961e-05/0.3348, allocations: 104.9 kB / 1.215 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.3349, allocations: 12 kB / 1.215 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.335, allocations: 4 kB / 1.215 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.335, allocations: 7.984 kB / 1.215 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.335, allocations: 8 kB / 1.215 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001308/0.3352, allocations: 164.5 kB / 1.215 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3352, allocations: 0 / 1.215 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002681/0.3355, allocations: 36 kB / 1.215 GB, free: 1.254 MB / 0.9669 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.0002055/0.3357, allocations: 145.9 kB / 1.216 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.336, allocations: 247.3 kB / 1.216 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.336, allocations: 4 kB / 1.216 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.3362, allocations: 159.4 kB / 1.216 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.3364, allocations: 18.42 kB / 1.216 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.337, allocations: 344.3 kB / 1.216 GB, free: 304 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3373, allocations: 0.7313 MB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.86e-05/0.3374, allocations: 4 kB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.3374, allocations: 15.44 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.3374, allocations: 0 / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of Templates: time 0.004634/0.3421, allocations: 1.667 MB / 1.219 GB, free: 13.87 MB / 0.9825 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