Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001404/0.001404, allocations: 108 kB / 15.6 MB, free: 132 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.00137/0.00137, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.453/1.453, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 63.91 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6131/0.6151, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00295/0.6181, allocations: 1.606 MB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.6193, allocations: 0.6465 MB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.6194, allocations: 4 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.6195, allocations: 67.84 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.6198, allocations: 107.7 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.6202, allocations: 101.7 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.6204, allocations: 139.6 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.814e-05/0.6205, allocations: 12 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.6206, allocations: 67.81 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.6208, allocations: 99.77 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.6208, allocations: 8 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.621, allocations: 83.92 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.341e-05/0.621, allocations: 31.84 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.913e-05/0.6211, allocations: 55.61 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.6214, allocations: 157.5 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6214, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.797e-06/0.6214, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.148e-06/0.6214, allocations: 7.938 kB / 1.02 GB, free: 15.32 MB / 0.7794 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.0007274/0.6221, allocations: 473.8 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.6222, allocations: 16.03 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.6222, allocations: 16.75 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.6225, allocations: 219.8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.6225, allocations: 384 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.6225, allocations: 4.375 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.6228, allocations: 131.6 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.6228, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.6228, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6228, allocations: 3.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.623, allocations: 71.97 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004658/0.6234, allocations: 400.9 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.6236, allocations: 117.1 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.6238, allocations: 85.78 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.6238, allocations: 4 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000278/0.6241, allocations: 186.8 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.6241, allocations: 0 / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005362/0.6246, allocations: 327.1 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.6247, allocations: 114.8 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.6249, allocations: 219.1 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.625, allocations: 25.7 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.625, allocations: 116.1 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.6251, allocations: 35.55 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.6252, allocations: 21.72 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.6253, allocations: 338.8 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.056e-05/0.6254, allocations: 56.23 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.6255, allocations: 90.88 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.6258, allocations: 189.1 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6258, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003516/0.6261, allocations: 267 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.6262, allocations: 37.69 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6262, allocations: 4 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.6262, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/0.6263, allocations: 8.094 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.6263, allocations: 11.88 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.6264, allocations: 20.02 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.6265, allocations: 4 kB / 1.024 GB, free: 11.46 MB / 0.7794 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.0001684/0.6266, allocations: 187.4 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.6267, allocations: 15.81 kB / 1.024 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.6269, allocations: 95.06 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6269, allocations: 8 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.6269, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.6269, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.6271, allocations: 233.4 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6271, allocations: 0 / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.6272, allocations: 19.92 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6272, allocations: 0 / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.6272, allocations: 8 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.6272, allocations: 0 / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6272, allocations: 240 / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.6277, allocations: 340.7 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.6278, allocations: 108.8 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.6278, allocations: 8 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.6279, allocations: 4 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.114e-05/0.628, allocations: 11.98 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.628, allocations: 8 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001429/0.6282, allocations: 164.2 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6282, allocations: 4 kB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002589/0.6285, allocations: 40 kB / 1.025 GB, free: 10.11 MB / 0.7794 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.0001881/0.6286, allocations: 135.2 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003687/0.629, allocations: 251.3 kB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.629, allocations: 0 / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.6292, allocations: 167.3 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.6294, allocations: 11.86 kB / 1.026 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005829/0.63, allocations: 344.5 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.6304, allocations: 0.7247 MB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.6304, allocations: 4.188 kB / 1.027 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.6305, allocations: 19.42 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.6305, allocations: 0 / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of Templates: time 0.004781/0.6353, allocations: 1.668 MB / 1.028 GB, free: 6.734 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches