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.007511/0.007511, allocations: 101.8 kB / 15.73 MB, free: 6 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.001625/0.001625, allocations: 197.9 kB / 16.68 MB, free: 5.926 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 68.11 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9208/0.9221, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003251/0.9254, allocations: 1.611 MB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.9267, allocations: 0.631 MB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.834e-05/0.9268, allocations: 4 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.927, allocations: 75.81 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.9273, allocations: 111.6 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.9277, allocations: 95.7 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000207/0.9279, allocations: 131.6 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.9281, allocations: 19.98 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.9282, allocations: 75.73 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.9284, allocations: 103.8 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.9285, allocations: 4 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.9286, allocations: 79.92 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.967e-05/0.9287, allocations: 31.84 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.241e-05/0.9288, allocations: 63.59 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.929, allocations: 159.3 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.929, allocations: 0 / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.122e-06/0.929, allocations: 4 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.929, allocations: 0 / 1.211 GB, free: 10.43 MB / 0.9356 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.0007721/0.9298, allocations: 482.2 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.9299, allocations: 12.03 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.9299, allocations: 20.69 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.9302, allocations: 212 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.9302, allocations: 384 / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.9303, allocations: 8.312 kB / 1.212 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.9305, allocations: 131.7 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.9305, allocations: 0 / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.9305, allocations: 4 kB / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.9306, allocations: 0 / 1.212 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.9307, allocations: 79.83 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.9312, allocations: 400.9 kB / 1.212 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.9313, allocations: 125.1 kB / 1.212 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.9315, allocations: 77.8 kB / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.9315, allocations: 3.984 kB / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.9317, allocations: 178.4 kB / 1.212 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.9317, allocations: 0 / 1.212 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13): time 0.000519/0.9323, allocations: 335.2 kB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.9323, allocations: 106.8 kB / 1.213 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.9325, allocations: 220.7 kB / 1.213 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.9326, allocations: 25.7 kB / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.9326, allocations: 124.1 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.9327, allocations: 31.56 kB / 1.213 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.9328, allocations: 33.61 kB / 1.213 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.9329, allocations: 334.8 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.594e-05/0.933, allocations: 59.97 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.505e-05/0.9331, allocations: 77.69 kB / 1.214 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.9333, allocations: 189.1 kB / 1.214 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.9334, allocations: 0 / 1.214 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003149/0.9337, allocations: 263.1 kB / 1.214 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.536e-05/0.9337, allocations: 45.62 kB / 1.214 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.9337, allocations: 8.25 kB / 1.214 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.9338, allocations: 0 / 1.214 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.9339, allocations: 15.98 kB / 1.214 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.9339, allocations: 4.094 kB / 1.214 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.934, allocations: 19.78 kB / 1.214 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.934, allocations: 4.094 kB / 1.214 GB, free: 6.555 MB / 0.9356 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.0001541/0.9342, allocations: 185.9 kB / 1.214 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.9342, allocations: 23.81 kB / 1.214 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.9345, allocations: 95 kB / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.9345, allocations: 0 / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.9345, allocations: 4 kB / 1.215 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.9345, allocations: 0 / 1.215 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.9347, allocations: 233.5 kB / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9347, allocations: 0 / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.9348, allocations: 12 kB / 1.215 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.9348, allocations: 0 / 1.215 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.9348, allocations: 15.98 kB / 1.215 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.9348, allocations: 0 / 1.215 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.9348, allocations: 0 / 1.215 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.9352, allocations: 335.3 kB / 1.215 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-05/0.9353, allocations: 104.8 kB / 1.215 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.9354, allocations: 4 kB / 1.215 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.9355, allocations: 7.984 kB / 1.215 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.9355, allocations: 15.98 kB / 1.215 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.9356, allocations: 8 kB / 1.215 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001321/0.9357, allocations: 159.2 kB / 1.215 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9357, allocations: 0 / 1.215 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002594/0.936, allocations: 47.91 kB / 1.215 GB, free: 5.211 MB / 0.9356 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.000217/0.9362, allocations: 142.1 kB / 1.216 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.9366, allocations: 243.3 kB / 1.216 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.9366, allocations: 4 kB / 1.216 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.9367, allocations: 163.3 kB / 1.216 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.937, allocations: 10.03 kB / 1.216 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.9376, allocations: 340.4 kB / 1.216 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.9379, allocations: 0.7352 MB / 1.217 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.063e-05/0.9379, allocations: 4.188 kB / 1.217 GB, free: 3.504 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.9379, allocations: 15.38 kB / 1.217 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.9379, allocations: 0 / 1.217 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of Templates: time 0.005282/0.9432, allocations: 1.718 MB / 1.219 GB, free: 1.785 MB / 0.9356 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