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.0009683/0.0009683, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 180.2 kB / 16.92 MB, free: 6.918 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.821/2.821, allocations: 462.6 MB / 0.737 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003688, allocations: 7.406 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3376, allocations: 159.6 MB / 1.059 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002203/0.3398, allocations: 1.33 MB / 1.061 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.3412, allocations: 0.6544 MB / 1.061 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.491e-05/0.3413, allocations: 3.938 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.3414, allocations: 71.89 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.3418, allocations: 95.73 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000371/0.3422, allocations: 82.84 kB / 1.061 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.3424, allocations: 123.6 kB / 1.062 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.3425, allocations: 8 kB / 1.062 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001776/0.3426, allocations: 55.88 kB / 1.062 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.3428, allocations: 103.7 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.3429, allocations: 8 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.343, allocations: 75.92 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.3431, allocations: 31.86 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3432, allocations: 89.28 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.3434, allocations: 104 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3434, allocations: 0 / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.369e-06/0.3435, allocations: 4 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3435, allocations: 0 / 1.062 GB, free: 2.172 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.0007776/0.3443, allocations: 456.6 kB / 1.063 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3443, allocations: 11.97 kB / 1.063 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.916e-05/0.3444, allocations: 16.75 kB / 1.063 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.3446, allocations: 215.9 kB / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.3447, allocations: 4.375 kB / 1.063 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.3447, allocations: 8.375 kB / 1.063 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.3449, allocations: 119.7 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.345, allocations: 4 kB / 1.063 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.345, allocations: 8 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.345, allocations: 3.984 kB / 1.063 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.3451, allocations: 71.91 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.3457, allocations: 412.8 kB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.3459, allocations: 117.1 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.346, allocations: 81.78 kB / 1.064 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.346, allocations: 4 kB / 1.064 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/0.3463, allocations: 170.7 kB / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 3.156e-06/0.3464, allocations: 0 / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.000577/0.3469, allocations: 339 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/0.347, allocations: 114.7 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.3473, allocations: 216.1 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3473, allocations: 29.7 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.3474, allocations: 108.1 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.3474, allocations: 43.59 kB / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.3475, allocations: 21.66 kB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3476, allocations: 330.8 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.569e-05/0.3477, allocations: 67.97 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.3478, allocations: 77.69 kB / 1.065 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.348, allocations: 193 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3481, allocations: 0 / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003658/0.3484, allocations: 267.3 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.593e-05/0.3485, allocations: 35.42 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.3485, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3485, allocations: 64 / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3486, allocations: 23.98 kB / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3486, allocations: 0 / 1.065 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.3488, allocations: 15.91 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.3488, allocations: 7.984 kB / 1.066 GB, free: 14.33 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.0001702/0.349, allocations: 175.5 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.349, allocations: 19.8 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.3492, allocations: 99.02 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3492, allocations: 0 / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3493, allocations: 4 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3493, allocations: 0 / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.3495, allocations: 237.4 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3495, allocations: 0 / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.335e-05/0.3496, allocations: 12 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.3496, allocations: 0 / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.3496, allocations: 15.92 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3496, allocations: 96 / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3496, allocations: 7.875 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.3501, allocations: 335.4 kB / 1.066 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.3502, allocations: 108.9 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.3502, allocations: 8 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.3503, allocations: 7.984 kB / 1.066 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.3504, allocations: 15.98 kB / 1.067 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.3504, allocations: 8 kB / 1.067 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001506/0.3506, allocations: 163 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3506, allocations: 0 / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002764/0.3509, allocations: 40 kB / 1.067 GB, free: 12.98 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.0002223/0.3511, allocations: 137.6 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003564/0.3515, allocations: 243.3 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3515, allocations: 0 / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.3517, allocations: 163.4 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.3519, allocations: 12 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007211/0.3526, allocations: 422.6 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.353, allocations: 0.72 MB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.353, allocations: 15.42 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of SimCode: time 5.61e-07/0.3531, allocations: 7.938 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of Templates: time 0.004491/0.3576, allocations: 1.828 MB / 1.07 GB, free: 9.371 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/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