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.001437/0.001437, allocations: 111.1 kB / 16.41 MB, free: 6.027 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.001308/0.001309, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.16 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.202/2.202, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.725/0.7264, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002318/0.7287, allocations: 1.615 MB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008826/0.7296, allocations: 0.6386 MB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.7297, allocations: 1 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.7298, allocations: 73.16 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.7301, allocations: 108.5 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.7304, allocations: 97.28 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.7306, allocations: 127.8 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.991e-05/0.7307, allocations: 11.23 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.7309, allocations: 83.12 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.731, allocations: 102.9 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.7311, allocations: 6.531 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.7312, allocations: 78.25 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.7313, allocations: 30.36 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.7313, allocations: 58.56 kB / 1.092 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.7316, allocations: 168.1 kB / 1.092 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.7316, allocations: 1.453 kB / 1.092 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7316, allocations: 3.938 kB / 1.092 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.7316, allocations: 4 kB / 1.092 GB, free: 3.66 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.0005798/0.7322, allocations: 476.8 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.7322, allocations: 9.781 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.7323, allocations: 17.52 kB / 1.092 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.7325, allocations: 220 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.7325, allocations: 6.953 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.7325, allocations: 4.281 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.7327, allocations: 138 kB / 1.093 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.7327, allocations: 1.328 kB / 1.093 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.7328, allocations: 0.7812 kB / 1.093 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7328, allocations: 1.438 kB / 1.093 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.7329, allocations: 71.11 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.7332, allocations: 400.3 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.7334, allocations: 116.9 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.7335, allocations: 89.39 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.7336, allocations: 1.531 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.7338, allocations: 178.2 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.233e-06/0.7338, allocations: 0 / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005078/0.7343, allocations: 337.6 kB / 1.094 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.7343, allocations: 106.5 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.7345, allocations: 214.6 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.7346, allocations: 27.42 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.7346, allocations: 119.8 kB / 1.094 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.7347, allocations: 34.89 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.7347, allocations: 28.38 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.972e-05/0.7348, allocations: 337.2 kB / 1.095 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-05/0.7349, allocations: 66.19 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.376e-05/0.735, allocations: 76.22 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.7352, allocations: 198 kB / 1.095 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.7352, allocations: 0 / 1.095 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003215/0.7355, allocations: 265.4 kB / 1.095 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.7355, allocations: 38.41 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.7355, allocations: 4.812 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.7356, allocations: 1.562 kB / 1.095 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.747e-05/0.7357, allocations: 16.34 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.7357, allocations: 1.375 kB / 1.095 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-05/0.7358, allocations: 15.97 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.7358, allocations: 4.859 kB / 1.095 GB, free: 1.004 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.000115/0.7359, allocations: 175.6 kB / 1.095 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.736, allocations: 26.7 kB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.7362, allocations: 102.3 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.7362, allocations: 1.719 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7362, allocations: 0.7969 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7362, allocations: 4.859 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.7364, allocations: 234 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7364, allocations: 0.6875 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.7364, allocations: 9.281 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.7364, allocations: 1.375 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.7365, allocations: 13.2 kB / 1.096 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.7365, allocations: 0.5312 kB / 1.096 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7365, allocations: 1.328 kB / 1.096 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000402/0.7369, allocations: 337.7 kB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.737, allocations: 108.9 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.737, allocations: 7.281 kB / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.365e-05/0.7371, allocations: 11.06 kB / 1.096 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.7371, allocations: 15.45 kB / 1.096 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.7372, allocations: 6.547 kB / 1.096 GB, free: 240 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000123/0.7373, allocations: 163.4 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7373, allocations: 0.9062 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000264/0.7376, allocations: 43.59 kB / 1.096 GB, free: 136 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.0001681/0.7378, allocations: 134.8 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.7381, allocations: 244.9 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7381, allocations: 4.875 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.7383, allocations: 164.2 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.7385, allocations: 13.7 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.7391, allocations: 371.5 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.7395, allocations: 0.7275 MB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.7395, allocations: 13.17 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.7395, allocations: 0 / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of Templates: time 0.003849/0.7434, allocations: 1.878 MB / 1.1 GB, free: 14.62 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/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