Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001755/0.001756, allocations: 108.7 kB / 15.99 MB, free: 6.348 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.001614/0.001614, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.471/1.471, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.747/2.747, allocations: 469.8 MB / 0.7427 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 68.53 kB / 0.9087 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3457, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003692/0.3495, allocations: 1.675 MB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.3508, allocations: 0.6351 MB / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.161e-05/0.3509, allocations: 0 / 1.066 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.3511, allocations: 71.83 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.3515, allocations: 107.1 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.3519, allocations: 79.86 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.3521, allocations: 131.7 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.3522, allocations: 15.98 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.3524, allocations: 71.75 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.3526, allocations: 107.8 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.3527, allocations: 4 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.3528, allocations: 83.84 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.412e-05/0.3529, allocations: 35.92 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.353, allocations: 55.61 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.3532, allocations: 116 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3532, allocations: 0 / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3533, allocations: 4 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3533, allocations: 0 / 1.067 GB, free: 11.88 MB / 0.8419 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.0008349/0.3541, allocations: 480.4 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3542, allocations: 8.031 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.3542, allocations: 20.69 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.3545, allocations: 215.9 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.3545, allocations: 4.375 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.3545, allocations: 384 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.3548, allocations: 131.6 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3548, allocations: 4 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.3548, allocations: 4 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3548, allocations: 0 / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.355, allocations: 67.97 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.3555, allocations: 416.7 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.3557, allocations: 121.1 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.3559, allocations: 81.78 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.3559, allocations: 4 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003358/0.3562, allocations: 166.8 kB / 1.069 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.894e-06/0.3562, allocations: 4 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0005759/0.3568, allocations: 339.2 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.023e-05/0.3569, allocations: 106.8 kB / 1.069 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.3572, allocations: 212.1 kB / 1.07 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.3572, allocations: 29.7 kB / 1.07 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.3573, allocations: 112.1 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.3574, allocations: 35.55 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.422e-05/0.3574, allocations: 29.7 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3576, allocations: 338.7 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.995e-05/0.3577, allocations: 59.97 kB / 1.07 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.3578, allocations: 77.69 kB / 1.07 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.3581, allocations: 189 kB / 1.07 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3581, allocations: 4.25 kB / 1.07 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003857/0.3585, allocations: 275.1 kB / 1.071 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/0.3585, allocations: 37.69 kB / 1.071 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3586, allocations: 4 kB / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.3586, allocations: 4 kB / 1.071 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.3587, allocations: 15.94 kB / 1.071 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.3587, allocations: 0 / 1.071 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.3588, allocations: 7.984 kB / 1.071 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.3589, allocations: 4 kB / 1.071 GB, free: 8.02 MB / 0.8419 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.0002038/0.3591, allocations: 187.2 kB / 1.071 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.3591, allocations: 15.81 kB / 1.071 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.3593, allocations: 106.9 kB / 1.071 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3594, allocations: 8.078 kB / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3594, allocations: 0 / 1.071 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3594, allocations: 3.938 kB / 1.071 GB, free: 7.688 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.3597, allocations: 233.4 kB / 1.071 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3597, allocations: 4 kB / 1.071 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.3597, allocations: 12 kB / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.3597, allocations: 0 / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.3598, allocations: 4 kB / 1.071 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3598, allocations: 4 kB / 1.071 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3598, allocations: 240 / 1.071 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004869/0.3603, allocations: 339.3 kB / 1.072 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.3604, allocations: 104.9 kB / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.3605, allocations: 4 kB / 1.072 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3606, allocations: 8 kB / 1.072 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.3606, allocations: 11.98 kB / 1.072 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.3607, allocations: 11.98 kB / 1.072 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001659/0.3608, allocations: 159 kB / 1.072 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3608, allocations: 0 / 1.072 GB, free: 6.715 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002745/0.3611, allocations: 43.98 kB / 1.072 GB, free: 6.672 MB / 0.8419 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.0002339/0.3614, allocations: 135.2 kB / 1.072 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004075/0.3618, allocations: 247.4 kB / 1.072 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3618, allocations: 0 / 1.072 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.362, allocations: 175.3 kB / 1.072 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/0.3623, allocations: 12.03 kB / 1.072 GB, free: 6.082 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.363, allocations: 414.1 kB / 1.073 GB, free: 5.641 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.3634, allocations: 0.7274 MB / 1.074 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.3634, allocations: 11.44 kB / 1.074 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of SimCode: time 2.71e-07/0.3635, allocations: 4 kB / 1.074 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of Templates: time 0.004543/0.368, allocations: 1.861 MB / 1.075 GB, free: 3.023 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches