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.005625/0.005625, allocations: 100.2 kB / 15.73 MB, free: 6.008 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.001323/0.001323, allocations: 193 kB / 16.67 MB, free: 5.93 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.251/2.251, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.9508 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.819/0.8203, allocations: 140.4 MB / 1.088 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002692/0.823, allocations: 1.599 MB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.8241, allocations: 0.6355 MB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.8241, allocations: 0.9688 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.8243, allocations: 81.83 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.8247, allocations: 102.8 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.825, allocations: 97.73 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.8252, allocations: 132.5 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.698e-05/0.8253, allocations: 10.56 kB / 1.09 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.8255, allocations: 79.36 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.8257, allocations: 102.4 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.8257, allocations: 6.969 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.8259, allocations: 86.67 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.643e-05/0.826, allocations: 30.25 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.371e-05/0.8261, allocations: 61.53 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.8263, allocations: 165.4 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8264, allocations: 0.9062 kB / 1.091 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.8264, allocations: 3.938 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.8264, allocations: 0 / 1.091 GB, free: 3.68 MB / 0.8575 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.0006715/0.827, allocations: 477.7 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.8271, allocations: 8.969 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.8271, allocations: 17.09 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.8274, allocations: 225 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.8274, allocations: 6.844 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.8274, allocations: 7.797 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.8277, allocations: 133.2 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.8277, allocations: 0 / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.8277, allocations: 1.719 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.8277, allocations: 1.031 kB / 1.092 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.8278, allocations: 75.14 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.8282, allocations: 400.4 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.8284, allocations: 117.5 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.8285, allocations: 80.11 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.8286, allocations: 6.328 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.8288, allocations: 174.1 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.8288, allocations: 0 / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005524/0.8294, allocations: 341.1 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.8294, allocations: 110.9 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.8297, allocations: 215.1 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.8297, allocations: 31.33 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.8298, allocations: 115.5 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.8298, allocations: 38.94 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.8299, allocations: 27.69 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.491e-05/0.8299, allocations: 333.7 kB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.8301, allocations: 61.86 kB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.8302, allocations: 75.98 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.8305, allocations: 205.8 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.8305, allocations: 0 / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003571/0.8308, allocations: 265.7 kB / 1.094 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.439e-05/0.8309, allocations: 38.44 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.8309, allocations: 0.75 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.8309, allocations: 1.453 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.831, allocations: 12.78 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.831, allocations: 1.422 kB / 1.094 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.8311, allocations: 15.62 kB / 1.094 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.8312, allocations: 8.922 kB / 1.094 GB, free: 1.016 MB / 0.8575 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.0001338/0.8313, allocations: 176.7 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.8313, allocations: 17.06 kB / 1.095 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.8316, allocations: 103.5 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.8316, allocations: 1.031 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.8316, allocations: 4.625 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.8316, allocations: 1.328 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.8318, allocations: 241.4 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.8318, allocations: 1.719 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.822e-05/0.8319, allocations: 9.656 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.8319, allocations: 1 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.8319, allocations: 9.125 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.8319, allocations: 1.219 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8319, allocations: 0.5156 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.8324, allocations: 337.8 kB / 1.095 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.8324, allocations: 108 kB / 1.095 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.8325, allocations: 12.42 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.8326, allocations: 5.859 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.8326, allocations: 12.31 kB / 1.095 GB, free: 260 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.8327, allocations: 6.438 kB / 1.095 GB, free: 260 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001436/0.8328, allocations: 164.6 kB / 1.096 GB, free: 160 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8328, allocations: 3.938 kB / 1.096 GB, free: 156 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002772/0.8331, allocations: 38.78 kB / 1.096 GB, free: 156 kB / 0.8575 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.0001898/0.8333, allocations: 143.8 kB / 1.096 GB, free: 44 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004071/0.8337, allocations: 238.3 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8337, allocations: 0 / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.834, allocations: 168.5 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.8342, allocations: 15.06 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.8349, allocations: 351.9 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.8352, allocations: 0.7242 MB / 1.097 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.815e-05/0.8352, allocations: 5.266 kB / 1.097 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.8352, allocations: 12.45 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8352, allocations: 4 kB / 1.097 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.005013/0.8403, allocations: 1.673 MB / 1.099 GB, free: 14.71 MB / 0.8731 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