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.001194/0.001194, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001487/0.001487, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 239.9 MB, free: 5.258 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.316/2.316, allocations: 390.3 MB / 0.6653 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003405, allocations: 8 kB / 0.8145 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6077/0.6081, allocations: 142.3 MB / 0.9535 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001854/0.61, allocations: 1.285 MB / 0.9548 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.6111, allocations: 0.5887 MB / 0.9553 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.091e-05/0.6112, allocations: 5.312 kB / 0.9553 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.6113, allocations: 71.91 kB / 0.9554 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.6116, allocations: 100.1 kB / 0.9555 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.612, allocations: 72.81 kB / 0.9556 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.6121, allocations: 81.19 kB / 0.9557 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.289e-05/0.6122, allocations: 4.906 kB / 0.9557 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.6124, allocations: 69.48 kB / 0.9557 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.6126, allocations: 84.16 kB / 0.9558 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.6126, allocations: 4.125 kB / 0.9558 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.6128, allocations: 60.06 kB / 0.9559 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.767e-05/0.6128, allocations: 37.27 kB / 0.9559 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.6129, allocations: 50.42 kB / 0.956 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.6131, allocations: 112.9 kB / 0.9561 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6131, allocations: 0 / 0.9561 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6131, allocations: 0 / 0.9561 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.6131, allocations: 0 / 0.9561 GB, free: 6.18 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.0006492/0.6138, allocations: 462 kB / 0.9565 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.6138, allocations: 13.66 kB / 0.9565 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.748e-05/0.6139, allocations: 18.92 kB / 0.9565 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.6141, allocations: 207 kB / 0.9567 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.6141, allocations: 6.5 kB / 0.9567 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.6142, allocations: 4 kB / 0.9567 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.6144, allocations: 122.3 kB / 0.9569 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.6144, allocations: 0 / 0.9569 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.6145, allocations: 1.406 kB / 0.9569 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-06/0.6145, allocations: 1.188 kB / 0.9569 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.6147, allocations: 80.66 kB / 0.9569 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000437/0.6151, allocations: 406 kB / 0.9573 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.6153, allocations: 116.3 kB / 0.9574 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.6154, allocations: 1.281 kB / 0.9574 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002932/0.6157, allocations: 174.6 kB / 0.9576 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.843e-06/0.6157, allocations: 1.438 kB / 0.9576 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0006866/0.6164, allocations: 417.8 kB / 0.958 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.6164, allocations: 105.5 kB / 0.9581 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.6167, allocations: 213.4 kB / 0.9583 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.6167, allocations: 39.06 kB / 0.9583 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.6168, allocations: 114.7 kB / 0.9585 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.6168, allocations: 33.92 kB / 0.9585 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.6169, allocations: 0 / 0.9585 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.52e-05/0.6169, allocations: 333 kB / 0.9588 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.6171, allocations: 59.42 kB / 0.9589 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.6172, allocations: 77.28 kB / 0.9589 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.6173, allocations: 94.28 kB / 0.959 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6173, allocations: 4 kB / 0.959 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000411/0.6178, allocations: 266 kB / 0.9593 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.829e-05/0.6178, allocations: 37.94 kB / 0.9593 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.6178, allocations: 0 / 0.9593 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.6178, allocations: 5.328 kB / 0.9593 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.618, allocations: 18.94 kB / 0.9593 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.618, allocations: 5.359 kB / 0.9593 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.6182, allocations: 14.72 kB / 0.9594 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.6182, allocations: 4.125 kB / 0.9594 GB, free: 3.34 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 ($whenCondition2,$PRE.decAng.tNext,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.6183, allocations: 185.8 kB / 0.9595 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.6184, allocations: 17.44 kB / 0.9596 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.6186, allocations: 96.06 kB / 0.9596 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.6186, allocations: 1.375 kB / 0.9596 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.6187, allocations: 3.953 kB / 0.9597 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6187, allocations: 1.375 kB / 0.9597 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.6189, allocations: 226.5 kB / 0.9599 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6189, allocations: 1.344 kB / 0.9599 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-05/0.619, allocations: 8.344 kB / 0.9599 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.619, allocations: 2.094 kB / 0.9599 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.619, allocations: 6.625 kB / 0.9599 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.619, allocations: 7.922 kB / 0.9599 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.619, allocations: 1.188 kB / 0.9599 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.6196, allocations: 346.2 kB / 0.9602 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.79e-05/0.6197, allocations: 106.8 kB / 0.9603 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.6197, allocations: 4.156 kB / 0.9603 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.6199, allocations: 13.98 kB / 0.9603 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.6199, allocations: 12.03 kB / 0.9604 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.62, allocations: 13.27 kB / 0.9604 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001617/0.6201, allocations: 164 kB / 0.9605 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.172e-06/0.6201, allocations: 0 / 0.9605 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000422/0.6206, allocations: 54.16 kB / 0.9606 GB, free: 2.359 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000212/0.6208, allocations: 135.2 kB / 0.9607 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004019/0.6212, allocations: 246.5 kB / 0.9609 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6212, allocations: 0 / 0.9609 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.6214, allocations: 162.2 kB / 0.9611 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.6216, allocations: 12.81 kB / 0.9611 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005258/0.6222, allocations: 378.3 kB / 0.9615 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.6223, allocations: 0.7294 MB / 0.9622 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.6224, allocations: 4.125 kB / 0.9622 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.6224, allocations: 16.05 kB / 0.9622 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.6224, allocations: 4 kB / 0.9622 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of Templates: time 0.003871/0.6263, allocations: 1.5 MB / 0.9637 GB, free: 248 kB / 0.7169 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","../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches