Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001079/0.001078, allocations: 92.39 kB / 16.02 MB, free: 80 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.001387/0.001388, allocations: 184.1 kB / 16.92 MB, free: 6.652 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.405/1.405, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.409/2.409, allocations: 390.9 MB / 0.667 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003584, allocations: 8 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7623, allocations: 142.4 MB / 0.9557 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001687/0.764, allocations: 1.322 MB / 0.957 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.7651, allocations: 0.6442 MB / 0.9576 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.7652, allocations: 1.5 kB / 0.9576 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.7653, allocations: 78.52 kB / 0.9577 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.7656, allocations: 101.3 kB / 0.9578 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.7659, allocations: 70.55 kB / 0.9579 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.7661, allocations: 119.3 kB / 0.958 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.7662, allocations: 17.45 kB / 0.958 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.7663, allocations: 69.39 kB / 0.9581 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.7665, allocations: 102.3 kB / 0.9582 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.7666, allocations: 1.781 kB / 0.9582 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.7667, allocations: 72.75 kB / 0.9582 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.387e-05/0.7668, allocations: 33.12 kB / 0.9583 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.848e-05/0.7669, allocations: 79.72 kB / 0.9583 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.767, allocations: 112.6 kB / 0.9584 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7671, allocations: 0 / 0.9584 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7671, allocations: 0 / 0.9584 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.7671, allocations: 0 / 0.9584 GB, free: 5.605 MB / 0.7169 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.0006163/0.7677, allocations: 469.6 kB / 0.9589 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.7677, allocations: 13.33 kB / 0.9589 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.474e-05/0.7678, allocations: 20.59 kB / 0.9589 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.768, allocations: 211.5 kB / 0.9591 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.768, allocations: 3 kB / 0.9591 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.768, allocations: 4.438 kB / 0.9591 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.7683, allocations: 127 kB / 0.9593 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.7683, allocations: 0 / 0.9593 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.7683, allocations: 2.25 kB / 0.9593 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.7683, allocations: 1.188 kB / 0.9593 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.7684, allocations: 72.45 kB / 0.9593 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.7688, allocations: 409.3 kB / 0.9597 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.769, allocations: 117.2 kB / 0.9598 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.7691, allocations: 81.48 kB / 0.9599 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.7692, allocations: 4.969 kB / 0.9599 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.7694, allocations: 180.4 kB / 0.9601 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.7694, allocations: 0 / 0.9601 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004941/0.7699, allocations: 332.7 kB / 0.9604 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.77, allocations: 110.9 kB / 0.9605 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.7701, allocations: 213.3 kB / 0.9607 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.7702, allocations: 32.45 kB / 0.9607 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.7702, allocations: 111 kB / 0.9609 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.7703, allocations: 33.05 kB / 0.9609 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.7703, allocations: 17.84 kB / 0.9609 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.792e-05/0.7704, allocations: 336.2 kB / 0.9612 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.525e-05/0.7705, allocations: 58.47 kB / 0.9613 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.084e-05/0.7706, allocations: 81.94 kB / 0.9614 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.7708, allocations: 203.6 kB / 0.9615 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.7708, allocations: 3.938 kB / 0.9616 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003447/0.7711, allocations: 266.6 kB / 0.9618 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.7712, allocations: 41.66 kB / 0.9618 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7712, allocations: 1 kB / 0.9618 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7712, allocations: 1.219 kB / 0.9618 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.7713, allocations: 10.06 kB / 0.9619 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.7714, allocations: 5.375 kB / 0.9619 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.7715, allocations: 18.61 kB / 0.9619 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.7715, allocations: 4.031 kB / 0.9619 GB, free: 2.719 MB / 0.7169 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.0001357/0.7716, allocations: 184.8 kB / 0.9621 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.7717, allocations: 17.25 kB / 0.9621 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.7719, allocations: 99.94 kB / 0.9622 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.7719, allocations: 1.531 kB / 0.9622 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7719, allocations: 4.844 kB / 0.9622 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.7719, allocations: 0.9688 kB / 0.9622 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.7721, allocations: 231.4 kB / 0.9624 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7721, allocations: 0 / 0.9624 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.186e-05/0.7722, allocations: 13.27 kB / 0.9624 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.7722, allocations: 0 / 0.9624 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.7722, allocations: 3.75 kB / 0.9624 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7722, allocations: 0.9375 kB / 0.9624 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.7722, allocations: 1.031 kB / 0.9624 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.7726, allocations: 338.4 kB / 0.9627 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.7727, allocations: 110 kB / 0.9628 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.49e-05/0.7727, allocations: 8.156 kB / 0.9629 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.453e-05/0.7728, allocations: 5.625 kB / 0.9629 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.7729, allocations: 8.766 kB / 0.9629 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.7729, allocations: 16.95 kB / 0.9629 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001271/0.773, allocations: 160.9 kB / 0.963 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.02e-07/0.7731, allocations: 4 kB / 0.963 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000284/0.7733, allocations: 54.98 kB / 0.9631 GB, free: 1.758 MB / 0.7169 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.0001912/0.7735, allocations: 133.8 kB / 0.9632 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.7739, allocations: 247.3 kB / 0.9635 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7739, allocations: 0 / 0.9635 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.774, allocations: 162.3 kB / 0.9636 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.7743, allocations: 23.14 kB / 0.9636 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006149/0.7749, allocations: 418.5 kB / 0.964 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.7751, allocations: 0.7228 MB / 0.9647 GB, free: 368 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.7751, allocations: 16.16 kB / 0.9648 GB, free: 356 kB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.7751, allocations: 0 / 0.9648 GB, free: 356 kB / 0.7169 GB Notification: Performance of Templates: time 0.004059/0.7792, allocations: 1.827 MB / 0.9665 GB, free: 15.42 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches