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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001085/0.001085, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008747/0.008747, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.381/1.381, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.9 MB / 0.6663 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005435/0.0005434, allocations: 15.94 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7386/0.7392, allocations: 142.4 MB / 0.955 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001506/0.7407, allocations: 1.32 MB / 0.9563 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009626/0.7417, allocations: 0.6416 MB / 0.957 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.7418, allocations: 0 / 0.957 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.7419, allocations: 78.27 kB / 0.957 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.7422, allocations: 100.8 kB / 0.9571 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.7424, allocations: 75.39 kB / 0.9572 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.7426, allocations: 112.4 kB / 0.9573 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.072e-05/0.7427, allocations: 24.42 kB / 0.9573 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.7428, allocations: 60.89 kB / 0.9574 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.743, allocations: 102.8 kB / 0.9575 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.743, allocations: 3.062 kB / 0.9575 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.7431, allocations: 74.72 kB / 0.9576 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.7432, allocations: 34.47 kB / 0.9576 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.008e-05/0.7433, allocations: 79.7 kB / 0.9577 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.7434, allocations: 155.8 kB / 0.9578 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7435, allocations: 7.984 kB / 0.9578 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7435, allocations: 0 / 0.9578 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.7435, allocations: 0 / 0.9578 GB, free: 5.66 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.0005718/0.744, allocations: 465.1 kB / 0.9583 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.7441, allocations: 9.625 kB / 0.9583 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.7441, allocations: 17 kB / 0.9583 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.7443, allocations: 208.4 kB / 0.9585 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.7443, allocations: 9.625 kB / 0.9585 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.7444, allocations: 8.375 kB / 0.9585 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.7446, allocations: 118.9 kB / 0.9586 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.7446, allocations: 1.406 kB / 0.9586 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.7446, allocations: 4 kB / 0.9586 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7446, allocations: 5.453 kB / 0.9586 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.7447, allocations: 73.14 kB / 0.9587 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003581/0.7451, allocations: 414 kB / 0.9591 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.7453, allocations: 120 kB / 0.9592 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.7454, allocations: 77.98 kB / 0.9593 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.7454, allocations: 1.125 kB / 0.9593 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.7457, allocations: 176.4 kB / 0.9595 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.7457, allocations: 0 / 0.9595 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004964/0.7462, allocations: 336.9 kB / 0.9598 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.7462, allocations: 110.9 kB / 0.9599 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.7464, allocations: 213.3 kB / 0.9601 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.7465, allocations: 38.94 kB / 0.9601 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.7465, allocations: 116.4 kB / 0.9602 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.7466, allocations: 33.2 kB / 0.9603 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.7466, allocations: 21.83 kB / 0.9603 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.7467, allocations: 332.3 kB / 0.9606 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/0.7468, allocations: 58.47 kB / 0.9607 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.534e-05/0.7468, allocations: 76.31 kB / 0.9607 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.747, allocations: 194.9 kB / 0.9609 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.747, allocations: 4 kB / 0.9609 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003106/0.7474, allocations: 267.5 kB / 0.9612 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.7474, allocations: 37 kB / 0.9612 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.7474, allocations: 3.938 kB / 0.9612 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.7474, allocations: 1.531 kB / 0.9612 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.754e-05/0.7475, allocations: 10.97 kB / 0.9612 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7475, allocations: 1.031 kB / 0.9612 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.7477, allocations: 14.83 kB / 0.9612 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.7477, allocations: 12.12 kB / 0.9613 GB, free: 2.777 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.0001347/0.7478, allocations: 180.8 kB / 0.9614 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.7479, allocations: 17.16 kB / 0.9614 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.7481, allocations: 103.7 kB / 0.9615 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.7481, allocations: 1.969 kB / 0.9615 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-06/0.7481, allocations: 1.062 kB / 0.9615 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.7481, allocations: 0 / 0.9615 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.7483, allocations: 238.9 kB / 0.9618 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7483, allocations: 0.9688 kB / 0.9618 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.7483, allocations: 8.031 kB / 0.9618 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7483, allocations: 1.969 kB / 0.9618 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.7484, allocations: 3 kB / 0.9618 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.7484, allocations: 1.406 kB / 0.9618 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.7484, allocations: 0.9688 kB / 0.9618 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.7488, allocations: 346.4 kB / 0.9621 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.7488, allocations: 110.5 kB / 0.9622 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.7489, allocations: 11.08 kB / 0.9622 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.749, allocations: 10.52 kB / 0.9622 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.749, allocations: 4.75 kB / 0.9622 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.7491, allocations: 13.23 kB / 0.9623 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001169/0.7492, allocations: 164.1 kB / 0.9624 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7492, allocations: 0 / 0.9624 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002679/0.7495, allocations: 46.61 kB / 0.9625 GB, free: 1.816 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.0001827/0.7497, allocations: 133.7 kB / 0.9626 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.75, allocations: 238.5 kB / 0.9628 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.75, allocations: 0.9062 kB / 0.9628 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.7501, allocations: 170.8 kB / 0.963 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.7504, allocations: 17.06 kB / 0.963 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.7509, allocations: 387.7 kB / 0.9634 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.7511, allocations: 0.7262 MB / 0.9641 GB, free: 468 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.998e-05/0.7511, allocations: 4.469 kB / 0.9641 GB, free: 468 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.7512, allocations: 11.22 kB / 0.9641 GB, free: 460 kB / 0.7169 GB Notification: Performance of SimCode: time 1.433e-06/0.7512, allocations: 0 / 0.9641 GB, free: 460 kB / 0.7169 GB Notification: Performance of Templates: time 0.004384/0.7556, allocations: 1.557 MB / 0.9656 GB, free: 15.66 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/jenkins/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