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.001641/0.001641, allocations: 110.8 kB / 16.41 MB, free: 6.48 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.001747/0.001747, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.14 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.28/2.28, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 67.89 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8661/0.8676, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003019/0.8706, allocations: 1.6 MB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.8718, allocations: 0.6436 MB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.155e-05/0.8719, allocations: 1.062 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.8721, allocations: 73.08 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.8724, allocations: 107.4 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.8728, allocations: 98.94 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.8731, allocations: 127.4 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.8732, allocations: 11.75 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.8734, allocations: 78.73 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.8736, allocations: 102.6 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.8736, allocations: 6.094 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.8738, allocations: 86.62 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.276e-05/0.8739, allocations: 30.08 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.118e-05/0.874, allocations: 53.86 kB / 1.092 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.8743, allocations: 169.3 kB / 1.092 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.8743, allocations: 0.7188 kB / 1.092 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.936e-06/0.8743, allocations: 3.938 kB / 1.092 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.8743, allocations: 4.562 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.0006925/0.875, allocations: 479.2 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.8751, allocations: 9.531 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.8752, allocations: 20.45 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.8754, allocations: 221.1 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.8754, allocations: 2.781 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.8754, allocations: 4.656 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.8757, allocations: 132 kB / 1.093 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8757, allocations: 0.8438 kB / 1.093 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.8757, allocations: 1.172 kB / 1.093 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.8757, allocations: 1.406 kB / 1.093 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.8759, allocations: 74.55 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.8763, allocations: 400 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.8765, allocations: 122.3 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.8766, allocations: 80.75 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.8766, allocations: 1.75 kB / 1.093 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.8769, allocations: 179 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.8769, allocations: 0 / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005622/0.8775, allocations: 337.1 kB / 1.094 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.8775, allocations: 111 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.8777, allocations: 214.7 kB / 1.094 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.8777, allocations: 31.97 kB / 1.094 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.8778, allocations: 119.1 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.8779, allocations: 35.33 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.8779, allocations: 35.16 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.395e-05/0.878, allocations: 329.8 kB / 1.095 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.8781, allocations: 62.52 kB / 1.095 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.8782, allocations: 76.17 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.8784, allocations: 204.8 kB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8784, allocations: 0 / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003626/0.8788, allocations: 266 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.8789, allocations: 40.31 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.8789, allocations: 1.219 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.8789, allocations: 0.9844 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.879, allocations: 17.03 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.879, allocations: 0.6875 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.8791, allocations: 11.56 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.8792, allocations: 4.859 kB / 1.095 GB, free: 1 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.0001468/0.8793, allocations: 180.8 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.8794, allocations: 17 kB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.8796, allocations: 106.8 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.8796, allocations: 6.266 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8796, allocations: 0.6562 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.8796, allocations: 1.688 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.8798, allocations: 224.9 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.8798, allocations: 0.9375 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.109e-05/0.8799, allocations: 9.703 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.8799, allocations: 1.062 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/0.8799, allocations: 17.08 kB / 1.096 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.8799, allocations: 1.062 kB / 1.096 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8799, allocations: 2.141 kB / 1.096 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/0.8804, allocations: 339.2 kB / 1.096 GB, free: 368 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.8805, allocations: 108.5 kB / 1.096 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.8805, allocations: 8.219 kB / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.8806, allocations: 14.33 kB / 1.096 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.8807, allocations: 11.45 kB / 1.096 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.8807, allocations: 6.484 kB / 1.096 GB, free: 240 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001396/0.8809, allocations: 164.8 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8809, allocations: 0 / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002936/0.8812, allocations: 42.73 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.0001855/0.8814, allocations: 142.4 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004077/0.8818, allocations: 237.8 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8818, allocations: 5.219 kB / 1.097 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.882, allocations: 163.8 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.000241/0.8823, allocations: 11.64 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.0006828/0.8829, allocations: 375.1 kB / 1.097 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.8833, allocations: 0.7273 MB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.8833, allocations: 17.64 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/0.8833, allocations: 0 / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.004435/0.8878, allocations: 1.872 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